X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fsysfiles-old.sh;h=e136a0b209eefc347b8ec371e57e49d4059a35ea;hb=dfd1972f7bcb550a4fc3b05dbe7e71d12334b0a7;hp=df16690b01e18bba127ff1f7705e95dd528ecbf2;hpb=c9a3c45e44c1c03d13d4eb186e3817bc836f75f8;p=pspp-builds.git diff --git a/tests/command/sysfiles-old.sh b/tests/command/sysfiles-old.sh index df16690b..e136a0b2 100755 --- a/tests/command/sysfiles-old.sh +++ b/tests/command/sysfiles-old.sh @@ -97,18 +97,17 @@ grep 'X=X' $TEMPDIR/foo.sav if [ $? -eq 0 ] ; then fail ; fi activity="compare output" -perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list -diff -b -w $TEMPDIR/pspp.list - << EOF - x variable variab_a variab_b --------- -------- -------- -------- - 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 +x,variable,variab_a,variab_b +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