X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fsysfile-info.sh;h=d8f8ae3647ffe306e531c945184190eb9d0478a8;hb=3865397b582d93924ded432055a07c31543363d4;hp=38c61e15b30898e6a7c715a139525291ec784615;hpb=8a7f5c28b68af3cd03a524329c1d6e7eba355158;p=pspp-builds.git diff --git a/tests/command/sysfile-info.sh b/tests/command/sysfile-info.sh index 38c61e15..d8f8ae36 100755 --- a/tests/command/sysfile-info.sh +++ b/tests/command/sysfile-info.sh @@ -74,11 +74,11 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE +$SUPERVISOR $PSPP --testing-mode $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi activity="filter output" -egrep -v '^(Created|Endian): ' $TEMPDIR/pspp.list > $TEMPDIR/out-filtered +egrep -v '^(Created|Endian|Integer Format|Real Format): ' $TEMPDIR/pspp.list > $TEMPDIR/out-filtered if [ $? -ne 0 ] ; then no_result ; fi activity="compare output" @@ -94,21 +94,26 @@ diff -b -w $TEMPDIR/out-filtered - << EOF 2.1 SYSFILE INFO. File: pro.sav Label: No label. -Integer Format: Little Endian. -Real Format: IEEE 754 LE. Variables: 2 Cases: 3 -Type: System File. +Type: System File Weight: Not weighted. Mode: Compression on. +Charset: Unknown +--------+-------------+---+ |Variable|Description |Pos| | | |iti| | | |on | #========#=============#===# |x |Format: F8.2 | 1| +| |Measure: | | +| |Display | | +| |Display | | +--------+-------------+---+ |name |Format: A10 | 2| +| |Measure: | | +| |Display | | +| |Display | | +--------+-------------+---+ EOF if [ $? -ne 0 ] ; then fail ; fi