This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gettext testsuite tweak



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");

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]