X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Flist.sh;h=3bc92aa67335ea22e186b46a86d989a3602a3185;hb=29c51e39acf3554a56aa2adc9451cc5fd70318ae;hp=4dc92dd55c686778b9a9460e21b09f7d5e39e235;hpb=726da17feb397b5e0ae5562873ddd12293db878b;p=pspp-builds.git diff --git a/tests/command/list.sh b/tests/command/list.sh index 4dc92dd5..3bc92aa6 100755 --- a/tests/command/list.sh +++ b/tests/command/list.sh @@ -3,6 +3,7 @@ # This program tests the LIST command. TEMPDIR=/tmp/pspp-tst-$$ +TESTFILE=$TEMPDIR/`basename $0`.sps here=`pwd`; @@ -49,11 +50,6 @@ cd $TEMPDIR activity="create program" cat > $TEMPDIR/list.stat << foobar *** Single lines. -remark EOF ----------------------------------------------------------------------- -Testing use of LIST in single-line cases. ----------------------------------------------------------------------- -EOF data list file='$top_srcdir/tests/weighting.data'/AVAR 1-5 BVAR 6-10. weight by BVAR. list. @@ -61,11 +57,6 @@ list. list /format numbered weight. *** Multiple lines. -remark EOF ----------------------------------------------------------------------- -Testing use of LIST in multi-line cases. ----------------------------------------------------------------------- -EOF data list file='$top_srcdir/tests/list.data' notable /X000 to X126 1-127. *list /cases=from 1 to 25 by 5 /format numbered. list x000 to x030. @@ -75,17 +66,13 @@ foobar if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$here/../src/pspp --testing-mode -o raw-ascii $TEMPDIR/list.stat +$SUPERVISOR $here/../src/pspp --testing-mode -o raw-ascii $TEMPDIR/list.stat if [ $? -ne 0 ] ; then no_result ; fi activity="compare results" diff -b -B $TEMPDIR/pspp.list - <