Changed test file name from 'foo.sps' to $TESTFILE (which is based
[pspp-builds.git] / tests / bugs / comment-at-eof.sh
index 638347482325983ec4e87310b73d36627e0f8853..6122e6605100f75099d0857a768089d6a8d5c2e8 100755 (executable)
@@ -54,12 +54,12 @@ mkdir -p $TEMPDIR
 cd $TEMPDIR
 
 activity="create program"
-cat > $TEMPDIR/foo.sps <<EOF
+cat > $TESTFILE <<EOF
 COMMENT this is a comment at end of file.
 EOF
 if [ $? -ne 0 ] ; then no_result ; fi
 
-$SUPERVISOR $PSPP --testing-mode $TEMPDIR/foo.sps
+$SUPERVISOR $PSPP --testing-mode $TESTFILE
 if [ $? -ne 0 ] ; then fail; fi
 
 pass;