X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Ft-test-1s.sh;h=b0bb6ab4781695ee8f392eb6fd49ccce79f23407;hb=f8022db2c3c692c2c7c31c4c20743ef56e8066d4;hp=a24bb174ccbb74f81c96671b613057c3b459d24f;hpb=65a4e29574b67921ea899b6a1d45806dca11db00;p=pspp diff --git a/tests/command/t-test-1s.sh b/tests/command/t-test-1s.sh index a24bb174cc..b0bb6ab478 100755 --- a/tests/command/t-test-1s.sh +++ b/tests/command/t-test-1s.sh @@ -20,6 +20,10 @@ export STAT_CONFIG_PATH cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR } @@ -70,35 +74,25 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $PSPP -o raw-ascii $TESTFILE +$SUPERVISOR $PSPP -o pspp.csv $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi activity="compare output" -perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list -diff -b $TEMPDIR/pspp.list - <