X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fprint.sh;h=78c6212fcfa5ae19f5b7d074e04191573667f391;hb=f4b04e8323d4c95c3723ca47587742e7175ae75f;hp=1f135d9bb7ca6ebc2d0e546dd3f738c00e56219c;hpb=0d1247a98f058356ba1cf24c26f642004ba5fbc5;p=pspp diff --git a/tests/command/print.sh b/tests/command/print.sh index 1f135d9bb7..78c6212fcf 100755 --- a/tests/command/print.sh +++ b/tests/command/print.sh @@ -98,8 +98,8 @@ if [ $? -ne 0 ] ; then fail ; fi activity="compare output" -perl -pi -e s/^\s*\$//g $TEMPDIR/pspp.list -diff -b $TEMPDIR/pspp.list - << EOF | perl -e 's/^\s*$//g' +perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list +diff -b $TEMPDIR/pspp.list - << EOF 1.1 DATA LIST. Reading free-form data from file $TEMPDIR/data-list.data. +--------+------+ |Variable|Format| @@ -109,7 +109,6 @@ diff -b $TEMPDIR/pspp.list - << EOF | perl -e 's/^\s*$//g' |C |F8.0 | |D |F8.0 | +--------+------+ - 2.1 PRINT. Writing 1 record(s) to file foo. +--------+------+-------+------+ |Variable|Record|Columns|Format| @@ -121,16 +120,11 @@ diff -b $TEMPDIR/pspp.list - << EOF | perl -e 's/^\s*$//g' |C | 1| 19- 28|N10.0 | |"/" | 1| 29- 29|A1 | +--------+------+-------+------+ - - A B C D -------- -------- -------- -------- . 2.00 3.00 4.00 - . 6.00 7.00 8.00 - . 10.00 11.00 12.00 - 3.1 DATA LIST. Reading free-form data from file $TEMPDIR/data-list.data. +--------+------+ |Variable|Format| @@ -140,7 +134,6 @@ diff -b $TEMPDIR/pspp.list - << EOF | perl -e 's/^\s*$//g' |C |F8.0 | |D |F8.0 | +--------+------+ - 4.1 PRINT. Writing 1 record(s) to the listing file. +--------+------+-------+------+ |Variable|Record|Columns|Format| @@ -151,7 +144,6 @@ diff -b $TEMPDIR/pspp.list - << EOF | perl -e 's/^\s*$//g' |D | 1| 28- 35|F8.2 | +--------+------+-------+------+ . 2.00 3.00 4.00 - A B C D -------- -------- -------- -------- . 2.00 3.00 4.00 @@ -165,7 +157,6 @@ diff -b $TEMPDIR/pspp.list - << EOF | perl -e 's/^\s*$//g' 10.00 11.00 . . 12.00 . . . 12.00 . . . - EOF if [ $? -ne 0 ] ; then fail ; fi