X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fstats%2Fdescript-basic.sh;h=3577a03b8cd9d18cf06d420ecbe23ec9ed29e35f;hb=b9c33df5fb3e621c641045ac90c211d33e2bf983;hp=0a8dc114a29c2f342c245c0b4ca287aa1270517f;hpb=65a4e29574b67921ea899b6a1d45806dca11db00;p=pspp diff --git a/tests/stats/descript-basic.sh b/tests/stats/descript-basic.sh index 0a8dc114a2..3577a03b8c 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,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 - <