Fix arg type for expr_parse.
[pspp] / tests / command / aggregate.sh
index 597217f83e751af01f899ae95264a79017f255b6..c03852ecd702d5bc05f3289f38cceb9f7c09b31f 100755 (executable)
@@ -3,6 +3,8 @@
 # This program tests the aggregate procedure
 
 TEMPDIR=/tmp/pspp-tst-$$
+TESTFILE=$TEMPDIR/`basename $0`.sps
+
 
 here=`pwd`;
 
@@ -46,7 +48,7 @@ mkdir -p $TEMPDIR
 cd $TEMPDIR
 
 activity="program create"
-cat > $TEMPDIR/test.sps << EOF
+cat > $TESTFILE << EOF
 
 data list notable /x y 1-2.
 begin data.
@@ -69,11 +71,9 @@ EOF
 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
 
-cat pspp.list > /tmp/foo
-
 activity="test result"
 diff  -b -w -B $TEMPDIR/pspp.list - << EOF
 X        Z      FOO