X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Floop.sh;h=813777f4acea547542e62ce827faecb439877bac;hb=90a74c873f5dc594ac9bb6b1b347bf12b1c00319;hp=2b1383fe2e676be209077ffed075260275d6de51;hpb=dbf12b0ee6a99119c6854a663184f8df4f4c5241;p=pspp diff --git a/tests/command/loop.sh b/tests/command/loop.sh index 2b1383fe2e..813777f4ac 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"