X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fdata%2Fdata-out.at;h=0b8b4fee9d656fb47d6e3a8cdd9ec4d515e749ca;hb=refs%2Fbuilds%2F20101125030504%2Fpspp;hp=9a41a3b5fd4cdc1c5dc204d01b6fe0d5ad3fb3f4;hpb=8626dba4b37d9b07d10888daf8cef3a26e5b114c;p=pspp diff --git a/tests/data/data-out.at b/tests/data/data-out.at index 9a41a3b5fd..0b8b4fee9d 100644 --- a/tests/data/data-out.at +++ b/tests/data/data-out.at @@ -14009,11 +14009,12 @@ 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], [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. - 38 error: Month number 0.900000 is not between 1 and 12. - 38 error: Month number 13.000000 is not between 1 and 12. +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. +38 error: Month number 0.900000 is not between 1 and 12. +38 error: Month number 13.000000 is not between 1 and 12. ]) AT_CHECK([cat month-out.out], [0], [dnl . @@ -14924,11 +14925,12 @@ end repeat. execute. ]) AT_CHECK([pspp -O format=csv wkday-out.sps], [1], [stdout]) -AT_CHECK([sed '/^$/d' stdout | sort | uniq -c], [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. - 39 error: Weekday number 0.900000 is not between 1 and 7. - 39 error: Weekday number 8.000000 is not between 1 and 7. +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. +39 error: Weekday number 0.900000 is not between 1 and 7. +39 error: Weekday number 8.000000 is not between 1 and 7. ]) AT_CHECK([cat wkday-out.out], [0], [dnl .