]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid a test failure on Cygwin.
authorBruno Haible <bruno@clisp.org>
Mon, 10 Aug 2009 10:27:52 +0000 (12:27 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 10 Aug 2009 13:19:34 +0000 (15:19 +0200)
gettext-tools/tests/ChangeLog
gettext-tools/tests/msginit-1

index a1edecf65ffa659bad6a78d45c6724e8145b4c1d..2e98245d9b53e0e090a878974e7e1d22baf9eb2f 100644 (file)
@@ -1,3 +1,8 @@
+2009-08-10  Bruno Haible  <bruno@clisp.org>
+
+       Avoid a test failure on Cygwin.
+       * msginit-1: Replace also CP1252 label with ASCII.
+
 2009-07-27  Часлав Илић (Chusslove Illich)  <caslav.ilic@gmx.net>
             Bruno Haible  <bruno@clisp.org>
 
index 3625397ab96819006cc552bd6855e44d1bc4407a..9cf69282b391038f32ef349377a0c63541c8b6da 100755 (executable)
@@ -46,7 +46,7 @@ ${MSGINIT} -i mi-test1.pot -l ga_IE --no-translator -o mi-test1.tmp 2>mi-test1.e
 test $? = 0 || { cat mi-test1.err 1>&2; rm -fr $tmpfiles; exit 1; }
 # The charset stored in the header entry is the locale encoding of the gl_IE
 # locale, which is system dependent, or ASCII if the locale does not exist.
-sed -e '1,10d' -e 's/\(ISO-8859-1\|UTF-8\)/ASCII/g' < mi-test1.tmp | LC_ALL=C tr -d '\r' > mi-test1.out
+sed -e '1,10d' -e 's/\(ISO-8859-1\|CP1252\|UTF-8\)/ASCII/g' < mi-test1.tmp | LC_ALL=C tr -d '\r' > mi-test1.out
 test $? = 0 || { rm -fr $tmpfiles; exit 1; }
 
 tmpfiles="$tmpfiles mi-test1.ok"