3 # This program tests ....
5 TEMPDIR=/tmp/pspp-tst-$$
9 # ensure that top_srcdir is absolute
10 cd $top_srcdir; top_srcdir=`pwd`
12 export STAT_CONFIG_PATH=$top_srcdir/config
45 cp $top_srcdir/tests/bugs/computebug.stat $TEMPDIR
49 if [ $? -ne 0 ] ; then no_result ; fi
52 activity="run program"
53 $SUPERVISOR $top_srcdir/src/pspp -o raw-ascii $TEMPDIR/computebug.stat
54 if [ $? -ne 0 ] ; then no_result ; fi
57 activity="compare output"
58 diff -b -B -w $TEMPDIR/pspp.list $top_srcdir/tests/bugs/computebug.out
60 if [ $? -ne 0 ] ; then fail ; fi