X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fvery-long-strings.sh;h=8180f6bb2b21e727916a25baeea11dc1ed5316bd;hb=6ba6662c69e868290d1e514ffe65ef447e9263d6;hp=79267ab19a3b455492e618ebd953ab6ab5673add;hpb=393668423c1c9456fd82db6b30f25de078915da5;p=pspp-builds.git diff --git a/tests/command/very-long-strings.sh b/tests/command/very-long-strings.sh index 79267ab1..8180f6bb 100755 --- a/tests/command/very-long-strings.sh +++ b/tests/command/very-long-strings.sh @@ -13,7 +13,8 @@ top_srcdir=`cd $top_srcdir; pwd` top_builddir=`cd $top_builddir; pwd` PSPP=$top_builddir/src/ui/terminal/pspp -export STAT_CONFIG_PATH=$top_srcdir/config +STAT_CONFIG_PATH=$top_srcdir/config +export STAT_CONFIG_PATH cleanup() @@ -22,6 +23,7 @@ cleanup() echo "NOT cleaning $TEMPDIR" return ; fi + cd / rm -rf $TEMPDIR } @@ -71,46 +73,67 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program 0" -$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE > /dev/null +$SUPERVISOR $PSPP --testing-mode -e /dev/null $TESTFILE if [ $? -ne 0 ] ; then fail ; fi activity="compare variable display 0" -diff $TEMPDIR/pspp.list - < $TEMPDIR/data < $TESTFILE < $TESTFILE < $TESTFILE < $TESTFILE <