X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fsysfiles.sh;h=a671dff5244f5b79f1920b3ba44b9b4a8d45a5c1;hb=dfd1972f7bcb550a4fc3b05dbe7e71d12334b0a7;hp=d4f59052de98b9d5e99820a2dce6beffbe221a89;hpb=c9a3c45e44c1c03d13d4eb186e3817bc836f75f8;p=pspp-builds.git diff --git a/tests/command/sysfiles.sh b/tests/command/sysfiles.sh index d4f59052..a671dff5 100755 --- a/tests/command/sysfiles.sh +++ b/tests/command/sysfiles.sh @@ -87,18 +87,17 @@ $SUPERVISOR $PSPP --testing-mode $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi activity="compare output" -perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list -diff -b -w $TEMPDIR/pspp.list - << EOF -variable001 variable002 variable003 variable004 ------------ ----------- ----------- ----------- - 1.00 1.00 1.00 2.00 - 1.00 1.00 2.00 30.00 - 1.00 2.00 1.00 8.00 - 1.00 2.00 2.00 20.00 - 2.00 1.00 1.00 2.00 - 2.00 1.00 2.00 22.00 - 2.00 2.00 1.00 1.00 - 2.00 2.00 2.00 3.00 +diff -c $TEMPDIR/pspp.csv - << EOF +Table: Data List +variable001,variable002,variable003,variable004 +1.00,1.00,1.00,2.00 +1.00,1.00,2.00,30.00 +1.00,2.00,1.00,8.00 +1.00,2.00,2.00,20.00 +2.00,1.00,1.00,2.00 +2.00,1.00,2.00,22.00 +2.00,2.00,1.00,1.00 +2.00,2.00,2.00,3.00 EOF if [ $? -ne 0 ] ; then fail ; fi