From: Bruno Haible Date: Fri, 1 Jan 2021 13:37:21 +0000 (+0100) Subject: tests: Add comments. X-Git-Tag: v0.22~276 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5b14b2694b3eca391cf81df87e476b15b75da4d1;p=thirdparty%2Fgettext.git tests: Add comments. * gettext-tools/tests/init.cfg: More comments about the Solaris gettext() bug. --- diff --git a/gettext-tools/tests/init.cfg b/gettext-tools/tests/init.cfg index 813fb0c0e..3b814814d 100644 --- a/gettext-tools/tests/init.cfg +++ b/gettext-tools/tests/init.cfg @@ -5,9 +5,20 @@ prepare_locale_ () { - # Solaris 11 doesn't strip the CODESET part from the locale name, - # when looking for a message catalog. Create a directory link with - # CODESET, to work around this. + # Solaris 11.[0-3] doesn't strip the CODESET part from the locale name, + # when looking for a message catalog. E.g. when the locale is fr_FR.UTF-8, + # on Solaris 11.[0-3] it looks for + # /fr_FR.UTF-8/LC_MESSAGES/.mo + # /fr.UTF-8/LC_MESSAGES/.mo + # Similarly, on Solaris 11 OpenIndiana and Solaris 11 OmniOS it looks only for + # /fr_FR.UTF-8/LC_MESSAGES/.mo + # Reported at . + # On Solaris 11.4 this is fixed: it looks for + # /fr_FR.UTF-8/LC_MESSAGES/.mo + # /fr.UTF-8/LC_MESSAGES/.mo + # /fr_FR/LC_MESSAGES/.mo + # /fr/LC_MESSAGES/.mo + # Create a directory link with CODESET, to work around this. if test "$1" != "$2" && test "$GLIBC2" = no; then case "$host_os" in solaris2.11)