X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fprint.sh;h=1f135d9bb7ca6ebc2d0e546dd3f738c00e56219c;hb=b08603f631a2d998d8c604692fdf13669bb5e510;hp=119ac572569c2e110ca802cef9a650a7e7ae1ef4;hpb=a19e7749cdb8713316fde220f2fc9a5ad5dc79ed;p=pspp diff --git a/tests/command/print.sh b/tests/command/print.sh index 119ac57256..1f135d9bb7 100755 --- a/tests/command/print.sh +++ b/tests/command/print.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 } @@ -57,7 +59,7 @@ cat > $TEMPDIR/print.stat << foobar title 'Test PRINT transformation'. data list free table file='$TEMPDIR/data-list.data'/A B C D. -print outfile="foo" table/A(f8.2) '/' B(e8.2) '/' C(n10) '/' D(rbhex16) '/'. +print outfile="foo" table/A(f8.2) '/' B(e8.2) '/' C(n10) '/'. print space a. print outfile="foo" /a b c d. list. @@ -78,11 +80,11 @@ if [ $? -eq 0 ] ; then fail ; fi activity="compare error messages" diff -w $TEMPDIR/errs - <