X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fstats%2Fdescript-basic.sh;h=3577a03b8cd9d18cf06d420ecbe23ec9ed29e35f;hb=8c314eb61df76fbd23ec060214976c59dfaffe77;hp=8f772ed3795a37ae34815e8e6febf15157b6e35a;hpb=655bf3a3917cdf16f99fcbb680d2bf3159126a93;p=pspp diff --git a/tests/stats/descript-basic.sh b/tests/stats/descript-basic.sh index 8f772ed379..3577a03b8c 100755 --- a/tests/stats/descript-basic.sh +++ b/tests/stats/descript-basic.sh @@ -21,6 +21,10 @@ export LANG cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR } @@ -78,56 +82,52 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $PSPP -o raw-ascii $TEMPDIR/descript.stat +$SUPERVISOR $PSPP -o pspp.csv $TEMPDIR/descript.stat if [ $? -ne 0 ] ; then no_result ; fi activity="compare output" -perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list -diff -b $TEMPDIR/pspp.list - <