Fixed non-portable shell syntax in tests. Added a dist-hook target to check
[pspp-builds.git] / tests / bugs / curtailed.sh
index 93c45b594d8c8d93a7e9de2f0609301cb07fa00c..9c46e9ffcdba3b1e418c37e0ed27120e78b0507a 100755 (executable)
@@ -70,7 +70,7 @@ if [ $? -ne 0 ] ; then no_result ; fi
 
 #This must fail
 activity="run program"
-$SUPERVISOR $PSPP $TESTFILE > /dev/null
+$SUPERVISOR $PSPP --testing-mode -e /dev/null $TESTFILE
 if [ $? -ne 1 ] ; then fail ; fi