From: Bruno Haible Date: Mon, 10 Aug 2009 10:27:52 +0000 (+0200) Subject: Avoid a test failure on Cygwin. X-Git-Tag: v0.18~157 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08fb0885b51c80ba2f31fb210954781841214355;p=thirdparty%2Fgettext.git Avoid a test failure on Cygwin. --- diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index a1edecf65..2e98245d9 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,3 +1,8 @@ +2009-08-10 Bruno Haible + + Avoid a test failure on Cygwin. + * msginit-1: Replace also CP1252 label with ASCII. + 2009-07-27 Часлав Илић (Chusslove Illich) Bruno Haible diff --git a/gettext-tools/tests/msginit-1 b/gettext-tools/tests/msginit-1 index 3625397ab..9cf69282b 100755 --- a/gettext-tools/tests/msginit-1 +++ b/gettext-tools/tests/msginit-1 @@ -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"