X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=tests%2Fcommand%2Fuse.sh;h=bbbb7b44fefeb82617065afdbd2c9a09b1a4bff7;hb=897a260ef7a8b954d56698cc40241a3197127505;hp=2afcc9390ab89c378b30e8f8732b0aef795d0b9a;hpb=b996647adb40b2b51f888c8e755d5f5f2c15cb37;p=pspp diff --git a/tests/command/use.sh b/tests/command/use.sh index 2afcc9390a..bbbb7b44fe 100755 --- a/tests/command/use.sh +++ b/tests/command/use.sh @@ -3,17 +3,20 @@ # This program tests USE, just to make sure that USE ALL is accepted silently. 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 } @@ -47,7 +50,7 @@ cd $TEMPDIR activity="create program" cat > $TEMPDIR/filter.stat << EOF -data list notable /x 1-2. +data list notable /X 1-2. begin data. 1 2