From: John Darrington Date: Sat, 2 Apr 2016 04:01:43 +0000 (+0200) Subject: Fix date format tests when running under wine X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7108a0d03b9346c9994642670ba2715600acfee;p=pspp Fix date format tests when running under wine --- diff --git a/tests/data/data-out.at b/tests/data/data-out.at index 6043d014b0..2ff7a2646d 100644 --- a/tests/data/data-out.at +++ b/tests/data/data-out.at @@ -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.