X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fbugs%2Fcomment-at-eof.sh;h=0388146d149284192d584d5753347ee8da0f65db;hb=897a260ef7a8b954d56698cc40241a3197127505;hp=0042b431b126622330e85b0c4ccbc12a8bdee178;hpb=d01a223942ec2ae4745788b9c006f83fe22050ba;p=pspp diff --git a/tests/bugs/comment-at-eof.sh b/tests/bugs/comment-at-eof.sh index 0042b431b1..0388146d14 100755 --- a/tests/bugs/comment-at-eof.sh +++ b/tests/bugs/comment-at-eof.sh @@ -4,17 +4,20 @@ # infinite loop. Thus, this test passes as long as it completes. 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 }