X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fcount.sh;h=bba7d06268a6cad26d0a9a5545164bef358ab124;hb=c74561b1a11c7ee5540336646f1f928bcbb77a05;hp=7c70fa2113b478e7f6a07eb4b0d7f3d25e3fd7d2;hpb=9aff19b717bcc242e16d04c34f348fd79ebdd685;p=pspp-builds.git diff --git a/tests/command/count.sh b/tests/command/count.sh index 7c70fa21..bba7d062 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 } @@ -76,29 +80,28 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="Run pspp 1" -$SUPERVISOR $PSPP --testing-mode $TESTFILE +$SUPERVISOR $PSPP -o pspp.csv $TESTFILE 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 - <