X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fbugs%2Fempty-do-repeat.sh;h=b96b2feab28075dbe117f3a25763d6e3373a21f0;hb=a7c7dd31b1ac252a08d7cfc2748cc3820c96e088;hp=ad82c23341decbf91e83d790b0785cdf8a6d15a0;hpb=2be077c70ef05845f6651c2402d3b368e2a3e2b5;p=pspp-builds.git diff --git a/tests/bugs/empty-do-repeat.sh b/tests/bugs/empty-do-repeat.sh index ad82c233..b96b2fea 100755 --- a/tests/bugs/empty-do-repeat.sh +++ b/tests/bugs/empty-do-repeat.sh @@ -21,6 +21,10 @@ export STAT_CONFIG_PATH cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR } @@ -67,7 +71,7 @@ if [ $? -ne 0 ] ; then no_result ; fi # Must not crash. activity="run program" -$SUPERVISOR $PSPP $TEMPDIR/repeat.stat +$SUPERVISOR $PSPP --testing-mode $TEMPDIR/repeat.stat if [ $? -ne 0 ] ; then fail ; fi pass;