X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fbugs%2Ft-test.sh;h=e8c43ebca02d3c890ccb676a1c5df86714d8db7f;hb=f463d854c12bda4f9f12f798ba12d3ea88c3a9ed;hp=d2c92ecce83ce79bbf1ad39a18178da29897d7db;hpb=65a4e29574b67921ea899b6a1d45806dca11db00;p=pspp-builds.git diff --git a/tests/bugs/t-test.sh b/tests/bugs/t-test.sh index d2c92ecc..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 $TESTFILE > /dev/null +$SUPERVISOR $PSPP --testing-mode -e /dev/null $TESTFILE if [ $? -ne 1 ] ; then fail ; fi pass;