X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Floop.sh;h=813777f4acea547542e62ce827faecb439877bac;hb=24164446e00e6449ccece6cbf0b0e2b1f5a383d2;hp=2b1383fe2e676be209077ffed075260275d6de51;hpb=dbf12b0ee6a99119c6854a663184f8df4f4c5241;p=pspp-builds.git diff --git a/tests/command/loop.sh b/tests/command/loop.sh index 2b1383fe..813777f4 100755 --- a/tests/command/loop.sh +++ b/tests/command/loop.sh @@ -23,6 +23,10 @@ export LANG cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR } @@ -127,7 +131,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $PSPP --testing-mode -o raw-ascii -e $TEMPDIR/stdout $TEMPDIR/loop.stat +$SUPERVISOR $PSPP --testing-mode -e $TEMPDIR/stdout $TEMPDIR/loop.stat if [ $? -ne 0 ] ; then no_result ; fi activity="compare stdout"