X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fmatch-files.sh;h=965539c8815fecc490e020b7e53f35b6afaba659;hb=refs%2Ftags%2Fv0.6.2-rc1;hp=28b9674609de0d437a5a94f334452ab846f11206;hpb=aed0d6941f474ebd12224d8092bb0e6da64081c6;p=pspp-builds.git diff --git a/tests/command/match-files.sh b/tests/command/match-files.sh index 28b96746..965539c8 100755 --- a/tests/command/match-files.sh +++ b/tests/command/match-files.sh @@ -21,9 +21,12 @@ export STAT_CONFIG_PATH cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR - : } @@ -168,7 +171,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run $name.pspp" - $SUPERVISOR $PSPP -o raw-ascii -e /dev/null $name.pspp + $SUPERVISOR $PSPP --testing-mode -e /dev/null $name.pspp if [ $? -ne 0 ] ; then no_result ; fi activity="check $name output" @@ -193,7 +196,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run $name.pspp" -$SUPERVISOR $PSPP -o raw-ascii -e /dev/null $name.pspp +$SUPERVISOR $PSPP --testing-mode -e /dev/null $name.pspp if [ $? -ne 0 ] ; then no_result ; fi activity="check $name output" @@ -242,7 +245,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run $name.pspp" -$SUPERVISOR $PSPP -o raw-ascii -e /dev/null $name.pspp +$SUPERVISOR $PSPP --testing-mode -e /dev/null $name.pspp if [ $? -ne 0 ] ; then no_result ; fi activity="check $name output"