# This program tests the aggregate procedure
TEMPDIR=/tmp/pspp-tst-$$
+TESTFILE=$TEMPDIR/`basename $0`.sps
+
here=`pwd`;
# ensure that top_srcdir is absolute
cd $top_srcdir; top_srcdir=`pwd`
+
export STAT_CONFIG_PATH=$top_srcdir/config
cleanup()
cd $TEMPDIR
activity="program create"
-cat > $TEMPDIR/test.sps << EOF
+cat > $TESTFILE << EOF
data list notable /x y 1-2.
begin data.
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program"
-$here/../src/pspp -o raw-ascii $TEMPDIR/test.sps
+$SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE
if [ $? -ne 0 ] ; then no_result ; fi
-
activity="test result"
-diff -B $TEMPDIR/pspp.list - << EOF
+diff -b -w -B $TEMPDIR/pspp.list - << EOF
X Z FOO
- -------- --------
1 15.00 6.00