X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fweight.sh;h=6d90315652246bb061504b15db42a7d68880ec29;hb=18e5609ea65b59f38fcd681f8555775f2e5b7ccd;hp=357e1ec66137c84b83dba095f83b8ccaa9bf838f;hpb=65a4e29574b67921ea899b6a1d45806dca11db00;p=pspp-builds.git diff --git a/tests/command/weight.sh b/tests/command/weight.sh index 357e1ec6..6d903156 100755 --- a/tests/command/weight.sh +++ b/tests/command/weight.sh @@ -17,10 +17,16 @@ 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 return ; fi + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR } @@ -66,7 +72,7 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE +$SUPERVISOR $PSPP --testing-mode $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi activity="compare results" @@ -85,7 +91,7 @@ diff -b $TEMPDIR/pspp.list - <