# ensure that top_srcdir is absolute
cd $top_srcdir; top_srcdir=`pwd`
-export STAT_CONFIG_PATH=$top_srcdir/config
+STAT_CONFIG_PATH=$top_srcdir/config
+export STAT_CONFIG_PATH
cleanup()
{
+ cd /
rm -rf $TEMPDIR
}
set seed=10.
input program.
+ loop #i = 1 to 20.
-+ do repeat response=r1.
++ do repeat response=R1.
+ compute response = uniform(10).
+ end repeat.
+ end case.
activity="compare output"
-diff -b -B -w $TEMPDIR/pspp.list - << EOF
+perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
+diff -b -w $TEMPDIR/pspp.list - << EOF
R1
--------
7.71
2.64
.88
1.50
-
EOF
if [ $? -ne 0 ] ; then fail ; fi