X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Faggregate.sh;h=3904d0346c8bf74c504be29e2754971da62fb843;hb=58f7781f0c0588e5eae9840e363d6213cfc6f51a;hp=90c1351f090763fcfd7d9030d781328e4ef7cfc3;hpb=c0ed03fd27298cf2b18f0fb373e919ab8b4ae4f4;p=pspp diff --git a/tests/command/aggregate.sh b/tests/command/aggregate.sh index 90c1351f09..3904d0346c 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. @@ -63,13 +65,13 @@ begin data. 15 end data. sort cases by x. -aggregate /missing=columnwise /document /presorted/break=x(a) /z'label for z'=sum(y)/foo=nu. +aggregate outfile=* /missing=columnwise /document /presorted/break=x /z'label for z'=sum(y)/foo=nu. list. EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$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"