X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Ffile-handle.sh;h=937f05f79e625d5a063293c9380d746f6d3daade;hb=18068527645fe7a23c7ea3b746ad3280bfa75b9e;hp=3dfe52f10be98f1d213041303d85bac8fae4cff6;hpb=af4066391f20365e210460a736b1b02efe194da6;p=pspp-builds.git diff --git a/tests/command/file-handle.sh b/tests/command/file-handle.sh index 3dfe52f1..937f05f7 100755 --- a/tests/command/file-handle.sh +++ b/tests/command/file-handle.sh @@ -76,26 +76,22 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $PSPP --testing-mode $TESTFILE +$SUPERVISOR $PSPP -o pspp.csv $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi activity="compare output" -diff -b $TEMPDIR/pspp.list - << EOF -1.1 DATA LIST. Reading free-form data from myhandle. -+--------+------+ -|Variable|Format| -#========#======# -|x |F8.0 | -+--------+------+ - - x --------- - 1.00 - 2.00 - 5.00 - 109.00 - +diff -c $TEMPDIR/pspp.csv - << EOF +Table: Reading free-form data from myhandle. +Variable,Format +x,F8.0 + +Table: Data List +x +1.00 +2.00 +5.00 +109.00 EOF if [ $? -ne 0 ] ; then fail ; fi