From: Ralf Wildenhues Date: Tue, 4 Mar 2008 22:52:07 +0000 (+0100) Subject: On MinGW, substitution of CR and 0xFF fails. X-Git-Tag: v2.62~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac17e815dcbd086e67069fbbf1de74cdaa012bc4;p=thirdparty%2Fautoconf.git On MinGW, substitution of CR and 0xFF fails. * tests/torture.at (Substitute and define special characters): MinGW awk cannot handle 0xFF, and on MinGW, the test does the wrong thing for CR. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 2a73baa8..d11c6db2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-03-04 Ralf Wildenhues + + On MinGW, substitution of CR and 0xFF fails. + * tests/torture.at (Substitute and define special characters): + MinGW awk cannot handle 0xFF, and on MinGW, the test does the + wrong thing for CR. + 2008-03-04 Eric Blake Pull in recent maintainer improvements from coreutils. diff --git a/tests/torture.at b/tests/torture.at index d8ae8f36..60e26d46 100644 --- a/tests/torture.at +++ b/tests/torture.at @@ -778,7 +778,9 @@ baz=bla for j in 0 1 2 3 4 5 6 7; do for k in 0 1 2 3 4 5 6 7; do case $i$j$k in #( - 000) ;; #( + 000 | 015 | 377) ;; # MinGW awk dislikes 0xFF, and the test does + # the wrong thing for CR on MinGW. + #( *) printf \\$i$j$k's' ;; # The 's' works around a Solaris 8 /bin/bash bug. esac done