include format.h only where necessary.
[pspp-builds.git] / tests / command / erase.sh
index 8b06c42c8f62bf348bee3e55a0b6ee2b0ef7a1ee..0599bed315e666cafc21b71650d4996d753a25f0 100755 (executable)
@@ -77,7 +77,7 @@ if [ ! -f $TEMPDIR/foobar ] ; then fail ; fi
 
 # This command must fail
 activity="run prog 1"
-$SUPERVISOR $PSPP $TESTFILE > /dev/null
+$SUPERVISOR $PSPP --testing-mode -e /dev/null $TESTFILE 
 if [ $? -eq 0 ] ; then fail ; fi
 
 
@@ -90,8 +90,8 @@ EOF
 if [ $? -ne 0 ] ; then no_result ; fi
 
 
-activity="run prog 1"
-$SUPERVISOR $PSPP $TESTFILE
+activity="run prog 2"
+$SUPERVISOR $PSPP --testing-mode $TESTFILE
 if [ $? -ne 0 ] ; then fail ; fi
 
 # foobar should now be gone