diff options
author | Daiki Ueno <ueno@gnu.org> | 2014-10-01 14:40:08 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2014-10-01 14:40:42 +0900 |
commit | 7ebb32f1b9f85907c590b613edb773da4f74a66a (patch) | |
tree | 0c128eb3bed4d9c7afd3cc406e2e91f6684abfc8 /gettext-tools/tests/lang-bash | |
parent | e860dc2849a0615d8db09804f72152581605874d (diff) | |
download | external_gettext-7ebb32f1b9f85907c590b613edb773da4f74a66a.zip external_gettext-7ebb32f1b9f85907c590b613edb773da4f74a66a.tar.gz external_gettext-7ebb32f1b9f85907c590b613edb773da4f74a66a.tar.bz2 |
tests: Adjust textdomain directory for Solaris 11
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.
Diffstat (limited to 'gettext-tools/tests/lang-bash')
-rwxr-xr-x | gettext-tools/tests/lang-bash | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gettext-tools/tests/lang-bash b/gettext-tools/tests/lang-bash index d69cb83..f2e0e3b 100755 --- a/gettext-tools/tests/lang-bash +++ b/gettext-tools/tests/lang-bash @@ -134,6 +134,7 @@ EOF : ${LOCALE_FR=fr_FR} : ${LOCALE_FR_UTF8=fr_FR.UTF-8} if test $LOCALE_FR != none; then + prepare_locale_ fr $LOCALE_FR LANGUAGE= LC_ALL=$LOCALE_FR bash ./prog.bash 2 > prog.out || exit 1 : ${DIFF=diff} ${DIFF} prog.nok prog.out > /dev/null && { @@ -143,6 +144,7 @@ if test $LOCALE_FR != none; then ${DIFF} prog.ok prog.out || exit 1 fi if test $LOCALE_FR_UTF8 != none; then + prepare_locale_ fr $LOCALE_FR_UTF8 LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 bash ./prog.bash 2 > prog.out || exit 1 : ${DIFF=diff} ${DIFF} prog.nok prog.out > /dev/null && { |