X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Ffile-label.sh;h=839990944250d67f133beb652dce4e3f9e2b92d7;hb=f62700038e9edd7d8002242015a900a15626bceb;hp=fea4d876071c421ae39d47da83def3f41a7226a6;hpb=1339492699ce7e12c9bf9fa17f9d60a66024cbd1;p=pspp diff --git a/tests/command/file-label.sh b/tests/command/file-label.sh index fea4d87607..8399909442 100755 --- a/tests/command/file-label.sh +++ b/tests/command/file-label.sh @@ -10,11 +10,13 @@ here=`pwd`; # ensure that top_srcdir is absolute cd $top_srcdir; top_srcdir=`pwd` -export STAT_CONFIG_PATH=$top_srcdir/config +STAT_CONFIG_PATH=$top_srcdir/config +export STAT_CONFIG_PATH cleanup() { + cd / rm -rf $TEMPDIR } @@ -114,7 +116,8 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="compare results" -diff -b -B $TEMPDIR/pspp.filtered - <