Changed test file name from 'foo.sps' to $TESTFILE (which is based
[pspp-builds.git] / tests / bugs / big-input.sh
index 9e133556a3b7b0d490da3900557a2db3fa59c279..8cec3c619635e413bf1cc84b93de402a92113b08 100755 (executable)
@@ -55,7 +55,7 @@ mkdir -p $TEMPDIR
 cd $TEMPDIR
 
 activity="create program"
-cat > $TEMPDIR/foo.sps <<EOF
+cat > $TESTFILE <<EOF
 INPUT PROGRAM.
        LOOP #I=1 TO 50000.
                COMPUTE X=NORMAL(10).
@@ -71,7 +71,7 @@ EOF
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="run program"
-$SUPERVISOR $PSPP --testing-mode -e /dev/null $TEMPDIR/foo.sps 
+$SUPERVISOR $PSPP --testing-mode -e /dev/null $TESTFILE
 if [ $? -ne 0 ] ; then fail ; fi
 
 pass;