X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fbugs%2Ft-test.sh;h=e8c43ebca02d3c890ccb676a1c5df86714d8db7f;hb=71cc988f2ad781457fd5d43f284990825fcd9a8d;hp=9fac7dfc8be33dcc76cdc033fcac33105769ae4e;hpb=f5574c6264163859a8eb94ab1e33bcc1b61fce5f;p=pspp-builds.git diff --git a/tests/bugs/t-test.sh b/tests/bugs/t-test.sh index 9fac7dfc..e8c43ebc 100755 --- a/tests/bugs/t-test.sh +++ b/tests/bugs/t-test.sh @@ -22,6 +22,10 @@ export STAT_CONFIG_PATH cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR } @@ -73,7 +77,7 @@ if [ $? -ne 0 ] ; then no_result ; fi #The syntax was invalid. Therefore pspp must return non zero. activity="run program" -$SUPERVISOR $PSPP -o raw-ascii -e /dev/null $TESTFILE +$SUPERVISOR $PSPP --testing-mode -e /dev/null $TESTFILE if [ $? -ne 1 ] ; then fail ; fi pass;