X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fline-ends.sh;h=14612b9075e903e4c032023d7d7ce85bfb55ea85;hb=f51ecb480;hp=ca03b5cad88ae341abd2eb833ad8bdc5ce4b2eea;hpb=8953baa61127d6d3b91f763663ea647bf3e4e793;p=pspp-builds.git diff --git a/tests/command/line-ends.sh b/tests/command/line-ends.sh index ca03b5ca..14612b90 100755 --- a/tests/command/line-ends.sh +++ b/tests/command/line-ends.sh @@ -83,21 +83,20 @@ 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 fail ; fi activity="compare output" -perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list -diff -b $TEMPDIR/pspp.list - << EOF - a b c --------- -------- -------- - 1.00 2.00 3.00 - 4.00 5.00 6.00 - 7.00 8.00 9.00 - 10.00 11.00 12.00 - 13.00 14.00 15.00 - 16.00 17.00 18.00 +diff -c $TEMPDIR/pspp.csv - << EOF +Table: Data List +a,b,c +1.00,2.00,3.00 +4.00,5.00,6.00 +7.00,8.00,9.00 +10.00,11.00,12.00 +13.00,14.00,15.00 +16.00,17.00,18.00 EOF if [ $? -ne 0 ] ; then fail ; fi