X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fcount.sh;h=bba7d06268a6cad26d0a9a5545164bef358ab124;hb=340886acef67d02786dc43401568c4c38bf0ded2;hp=7b3e8e4b79cb1aedc3debaff8c69ec42240bcc07;hpb=393668423c1c9456fd82db6b30f25de078915da5;p=pspp diff --git a/tests/command/count.sh b/tests/command/count.sh index 7b3e8e4b79..bba7d06268 100755 --- a/tests/command/count.sh +++ b/tests/command/count.sh @@ -17,9 +17,15 @@ top_srcdir=`cd $top_srcdir; pwd` STAT_CONFIG_PATH=$top_srcdir/config export STAT_CONFIG_PATH +LANG=C +export LANG cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR } @@ -74,29 +80,28 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="Run pspp 1" -$SUPERVISOR $PSPP -o raw-ascii $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 - <