X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Ft-test-pairs.sh;h=b3ef8415b03efd06a5ce76c5dfad37e5949f159d;hb=dcd7e905755e831af27550a052cd9f2c7c0aa427;hp=6f2c42a18059d0640edfcce66b0acb61a5b4899a;hpb=2d8fbab3accc90662e24dc7da4c7fceff1668313;p=pspp diff --git a/tests/command/t-test-pairs.sh b/tests/command/t-test-pairs.sh index 6f2c42a180..b3ef8415b0 100755 --- a/tests/command/t-test-pairs.sh +++ b/tests/command/t-test-pairs.sh @@ -3,17 +3,20 @@ # This program tests that the T-TEST /PAIRS command works OK 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 } @@ -46,8 +49,8 @@ mkdir -p $TEMPDIR cd $TEMPDIR activity="create program" -cat > $TEMPDIR/out.stat < $TESTFILE <