X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=tests%2Fdata%2Fdata-out.at;h=2ff7a2646ddcc6db99401dc6c43e03d4447049dc;hb=48b5268f2d9da96af106f09efd73ddddd96e5b09;hp=7fcf8b154e52ce2eb0d6e064093a22e791faaee1;hpb=fe8dc2171009e90d2335f159d05f7e6660e24780;p=pspp diff --git a/tests/data/data-out.at b/tests/data/data-out.at index 7fcf8b154e..2ff7a2646d 100644 --- a/tests/data/data-out.at +++ b/tests/data/data-out.at @@ -25,7 +25,7 @@ print "END FILE.\n"; print "END INPUT PROGRAM.\n"; print "PRINT OUTFILE='output.txt'/EXPR.\n"; -for my $format qw (F COMMA DOT DOLLAR PCT E CCA CCB CCC CCD CCE N Z) { +for my $format (qw (F COMMA DOT DOLLAR PCT E CCA CCB CCC CCD CCE N Z)) { for my $d (0...16) { my ($min_w); if ($format ne 'E') { @@ -46,7 +46,7 @@ print "EXECUTE.\n"; ]]) AT_CHECK([$PERL num-out.pl > num-out.sps]) AT_CHECK([pspp -O format=csv num-out.sps]) -AT_CHECK([inexactify$EXEEXT < output.txt > output.inexact]) +AT_CHECK([inexactify < output.txt > output.inexact]) AT_CHECK([gzip -cd < $top_srcdir/tests/data/num-out.expected.cmp.gz > expout.cmp]) AT_DATA([num-out-decmp.pl], [[use strict; @@ -14045,7 +14045,7 @@ print outfile='month-out.out'/x(month40). execute. ]) AT_CHECK([pspp -O format=csv month-out.sps], [1], [stdout]) -AT_CHECK([[sed '/^$/d' stdout | sort | uniq -c | sed 's/^[ ]*//']], [0], +AT_CHECK([[sed '/^ * *$/d' stdout | sort | uniq -c | sed 's/^[ ]*//']], [0], [dnl 38 error: Month number 0.000000 is not between 1 and 12. 38 error: Month number 0.500000 is not between 1 and 12. @@ -14961,7 +14961,7 @@ end repeat. execute. ]) AT_CHECK([pspp -O format=csv wkday-out.sps], [1], [stdout]) -AT_CHECK([[sed '/^$/d' stdout | sort | uniq -c | sed 's/^[ ]*//']], [0], +AT_CHECK([[sed '/^ * *$/d' stdout | sort | uniq -c | sed 's/^[ ]*//']], [0], [dnl 39 error: Weekday number 0.000000 is not between 1 and 7. 39 error: Weekday number 0.500000 is not between 1 and 7.