X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fprint.sh;h=a1be60c92fb92cc939d7dba1a88df8bd5b7ff68e;hb=9074ccc083d5d68f0d3a2843106165a6d99ae1c6;hp=f408a0fa2f8e8ff7173329860567ce9adadb6575;hpb=def7e6026513a3ee7c2b38416b30a2e890e34311;p=pspp diff --git a/tests/command/print.sh b/tests/command/print.sh index f408a0fa2f..a1be60c92f 100755 --- a/tests/command/print.sh +++ b/tests/command/print.sh @@ -3,6 +3,7 @@ # This program tests the PRINT transformation TEMPDIR=/tmp/pspp-tst-$$ +TESTFILE=$TEMPDIR/`basename $0`.sps here=`pwd`; @@ -55,28 +56,12 @@ activity="create program" cat > $TEMPDIR/print.stat << foobar title 'Test PRINT transformation'. -remark EOF ----------------------------------------------------------------------- -There is no test for DATA LIST FIXED since it is imagined that the -rest of the tests give it a pretty good workout. ----------------------------------------------------------------------- -EOF -remark EOF ----------------------------------------------------------------------- -Testing use of DATA LIST FREE. ----------------------------------------------------------------------- -EOF data list free table file='$TEMPDIR/data-list.data'/A B C D. -print outfile="foo" table/A(f8.2) '/' B(e8.2) '/' C(n10) '/' D(rbhex16) '/'. +print outfile="foo" table/A(f8.2) '/' B(e8.2) '/' C(n10) '/'. print space a. print outfile="foo" /a b c d. list. -remark EOF ----------------------------------------------------------------------- -Testing use of DATA LIST LIST. ----------------------------------------------------------------------- -EOF data list list table file='$TEMPDIR/data-list.data'/A B C D. print table/A B C D. list. @@ -93,11 +78,11 @@ if [ $? -eq 0 ] ; then fail ; fi activity="compare error messages" diff -w $TEMPDIR/errs - <