X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=tests%2Fcommand%2Fcount.sh;h=0813c428aa647d9bfc40dad03b4f60b7b4a818d7;hb=dedd3f83e7c6e77f96b6f4b11e4cebe8b14d91f5;hp=dd4cfd97e408e3aa38bbc91c41709ea7189c9ba6;hpb=bcbf95b3fbf812c42bd352943a9b358fa584deef;p=pspp-builds.git diff --git a/tests/command/count.sh b/tests/command/count.sh index dd4cfd97..0813c428 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,11 +80,11 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="Run pspp 1" -$SUPERVISOR $PSPP -o raw-ascii $TESTFILE +$SUPERVISOR $PSPP --testing-mode $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi -activity="compare results" +activity="compare results 1" perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list diff -b $TEMPDIR/pspp.list - <