X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=tests%2Fcommand%2Fvery-long-strings.sh;h=7c09d8dc533265ef1e868955b518a0031d4dec11;hb=5043ca7450640f23c1a5957c967f377f0fbefa19;hp=d6c8042047414457e6c300a67144a8087839ebb1;hpb=9aff19b717bcc242e16d04c34f348fd79ebdd685;p=pspp diff --git a/tests/command/very-long-strings.sh b/tests/command/very-long-strings.sh index d6c8042047..7c09d8dc53 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 } @@ -190,7 +192,7 @@ EOF # Check that the file read back in has the same data as what we wrote. activity="compare print ($options)" - diff --text -b $TEMPDIR/out.txt $TEMPDIR/data + diff -b $TEMPDIR/out.txt $TEMPDIR/data if [ $? -ne 0 ] ; then fail ; fi