Implemented long variable names a la spss V12.
[pspp-builds.git] / tests / command / filter.sh
index 180b59f68a99f5a59ba046c05344cb559b72248b..905d21aeaf785b97dd53f5fada95a858b5393bb2 100755 (executable)
@@ -3,6 +3,7 @@
 # This program tests ....
 
 TEMPDIR=/tmp/pspp-tst-$$
+TESTFILE=$TEMPDIR/`basename $0`.sps
 
 here=`pwd`;
 
@@ -46,7 +47,7 @@ mkdir -p $TEMPDIR
 cd $TEMPDIR
 
 activity="create program"
-cat > $TEMPDIR/filter.stat << EOF
+cat > $TESTFILE << EOF
 data list notable /x 1-2.
 begin data.
 1
@@ -75,7 +76,7 @@ if [ $? -ne 0 ] ; then no_result ; fi
 
 
 activity="run program"
-$here/../src/pspp --testing-mode -o raw-ascii $TEMPDIR/filter.stat
+$SUPERVISOR $here/../src/pspp --testing-mode -o raw-ascii $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi