X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fstats%2Fdescript-basic.sh;h=82b8cdaa24b2ab1d60641a2a6e18d760f94b7055;hb=2cf7ac68ff3ab753be17381fa5d2c2ac27b7ff34;hp=0a8dc114a29c2f342c245c0b4ca287aa1270517f;hpb=65a4e29574b67921ea899b6a1d45806dca11db00;p=pspp diff --git a/tests/stats/descript-basic.sh b/tests/stats/descript-basic.sh index 0a8dc114a2..82b8cdaa24 100755 --- a/tests/stats/descript-basic.sh +++ b/tests/stats/descript-basic.sh @@ -16,11 +16,17 @@ 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 + rm -rf $TEMPDIR } @@ -76,7 +82,7 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $PSPP -o raw-ascii $TEMPDIR/descript.stat +$SUPERVISOR $PSPP --testing-mode $TEMPDIR/descript.stat if [ $? -ne 0 ] ; then no_result ; fi activity="compare output"