X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Flag.sh;h=bc14e1a93dfc2a6b1b5ef1c7b733b5e31b82956b;hb=64322c8ee0af7bf5ecc825ccc90513118732f335;hp=4221fb7b88aba5ab81a708b8c2e16bf9a7175847;hpb=655bf3a3917cdf16f99fcbb680d2bf3159126a93;p=pspp-builds.git diff --git a/tests/command/lag.sh b/tests/command/lag.sh index 4221fb7b..bc14e1a9 100755 --- a/tests/command/lag.sh +++ b/tests/command/lag.sh @@ -22,6 +22,10 @@ export LANG cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR } @@ -73,7 +77,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $PSPP -o raw-ascii $TEMPDIR/lag.stat +$SUPERVISOR $PSPP --testing-mode $TEMPDIR/lag.stat if [ $? -ne 0 ] ; then no_result ; fi activity="compare result"