X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Faggregate.sh;h=c03852ecd702d5bc05f3289f38cceb9f7c09b31f;hb=e1ca4ab566c6f8317ba8ff0fd27046b82b4acd63;hp=916587dc0c575c5fca125d7706be6f00569db5b9;hpb=c48bf64ab648b9b761a8e0774db3672d8009c64c;p=pspp diff --git a/tests/command/aggregate.sh b/tests/command/aggregate.sh index 916587dc0c..c03852ecd7 100755 --- a/tests/command/aggregate.sh +++ b/tests/command/aggregate.sh @@ -3,6 +3,8 @@ # This program tests the aggregate procedure TEMPDIR=/tmp/pspp-tst-$$ +TESTFILE=$TEMPDIR/`basename $0`.sps + here=`pwd`; @@ -46,7 +48,7 @@ mkdir -p $TEMPDIR cd $TEMPDIR activity="program create" -cat > $TEMPDIR/test.sps << EOF +cat > $TESTFILE << EOF data list notable /x y 1-2. begin data. @@ -69,7 +71,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/test.sps +$SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi activity="test result"