X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fbignum.sh;h=6ab82a866a4abe39515bada943a0fc6cdf147b02;hb=b08603f631a2d998d8c604692fdf13669bb5e510;hp=a6465426e47ffaee83dc8daa59fdd74fc49ebc1f;hpb=97d6c6f6b1922621ca013668eba9a9a9f71d60fe;p=pspp diff --git a/tests/command/bignum.sh b/tests/command/bignum.sh index a6465426e4..6ab82a866a 100755 --- a/tests/command/bignum.sh +++ b/tests/command/bignum.sh @@ -3,17 +3,20 @@ # This program tests the use of big numbers TEMPDIR=/tmp/pspp-tst-$$ +TESTFILE=$TEMPDIR/`basename $0`.sps 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 +117,7 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="create program" -cat > $TEMPDIR/prog.stat < $TESTFILE <