gettext testsuite tweak
Bruno Haible
haible@ilog.fr
Sat May 6 14:12:00 GMT 2000
During "make check" with OUTPUT_CHARSET=UTF-8, tst-gettext.sh fails because
gettext returns the translations in UTF-8, and they are compared against the
original translations in ISO-8859-1. To avoid this failure, here is a fix.
2000-05-06 Bruno Haible <haible@clisp.cons.org>
* intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
OUTPUT_CHARSET environment variables.
*** intl/tst-gettext.c.bak Sat Jan 22 06:44:24 2000
--- intl/tst-gettext.c Sat May 6 12:36:03 2000
***************
*** 68,74 ****
--- 68,76 ----
setenv ("LANGUAGE", "existing-locale", 1);
setenv ("LC_ALL", "non-existing-locale", 1);
setenv ("LC_MESSAGES", "non-existing-locale", 1);
+ setenv ("LC_CTYPE", "non-existing-locale", 1);
setenv ("LANG", "non-existing-locale", 1);
+ unsetenv ("OUTPUT_CHARSET");
/* This is the name of the existing domain with a catalog for the
LC_MESSAGES category. */
textdomain ("existing-domain");
More information about the Libc-alpha
mailing list