X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fcount.sh;h=d6fd1db85e23a82fc1a420c2be9f0486091b022c;hb=03d066d9f7e4f3d076a63e64708633bdf5e1c93c;hp=7c70fa2113b478e7f6a07eb4b0d7f3d25e3fd7d2;hpb=9aff19b717bcc242e16d04c34f348fd79ebdd685;p=pspp-builds.git diff --git a/tests/command/count.sh b/tests/command/count.sh index 7c70fa21..d6fd1db8 100755 --- a/tests/command/count.sh +++ b/tests/command/count.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 } @@ -81,24 +85,23 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="compare results 1" -perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list -diff -b $TEMPDIR/pspp.list - <