X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fvariable-display.sh;h=1cf74f34881b6bd67319352458e8747f3b5d45de;hb=dfd1972f7bcb550a4fc3b05dbe7e71d12334b0a7;hp=d3f680245315d5eb00ed7b0e2d83c1d781e3cb51;hpb=c9a3c45e44c1c03d13d4eb186e3817bc836f75f8;p=pspp-builds.git diff --git a/tests/command/variable-display.sh b/tests/command/variable-display.sh index d3f68024..1cf74f34 100755 --- a/tests/command/variable-display.sh +++ b/tests/command/variable-display.sh @@ -74,27 +74,20 @@ $SUPERVISOR $PSPP --testing-mode $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 -1.1 DISPLAY. -+--------+-------------------------------------------+--------+ -|Variable|Description |Position| -#========#===========================================#========# -|x |Format: F8.2 | 1| -| |Measure: Scale | | -| |Display Alignment: Left | | -| |Display Width: 10 | | -+--------+-------------------------------------------+--------+ -|y |Format: F8.2 | 2| -| |Measure: Ordinal | | -| |Display Alignment: Right | | -| |Display Width: 12 | | -+--------+-------------------------------------------+--------+ -|z |Format: F8.2 | 3| -| |Measure: Nominal | | -| |Display Alignment: Center | | -| |Display Width: 14 | | -+--------+-------------------------------------------+--------+ +diff -c $TEMPDIR/pspp.csv - << EOF +Variable,Description,,Position +x,Format: F8.2,,1 +,Measure: Scale,, +,Display Alignment: Left,, +,Display Width: 10,, +y,Format: F8.2,,2 +,Measure: Ordinal,, +,Display Alignment: Right,, +,Display Width: 12,, +z,Format: F8.2,,3 +,Measure: Nominal,, +,Display Alignment: Center,, +,Display Width: 14,, EOF if [ $? -ne 0 ] ; then fail ; fi