X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fvery-long-strings.sh;h=7c09d8dc533265ef1e868955b518a0031d4dec11;hb=a34c42168e0cd3373860a6cc3f518cb0e329db47;hp=2cc9e0ef9927a42a985d7fc033f1af82250e74a0;hpb=a7fb79e81f6e2a0dfddc61e91f207609e31a4632;p=pspp-builds.git diff --git a/tests/command/very-long-strings.sh b/tests/command/very-long-strings.sh index 2cc9e0ef..7c09d8dc 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,23 +73,35 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program 0" -$SUPERVISOR $PSPP --testing-mode -o raw-ascii -e /dev/null $TESTFILE +$SUPERVISOR $PSPP --testing-mode -e /dev/null $TESTFILE if [ $? -ne 0 ] ; then fail ; fi activity="compare variable display 0" perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list -diff $TEMPDIR/pspp.list - < $TESTFILE < $TESTFILE < $TESTFILE < $TESTFILE <