# HG changeset patch # User Bruno Haible # Date 1234042148 -3600 # Node ID d39a9bdacb69cd9243314c1109cb2a4285ecf98e # Parent 7e0bad87f4f5ce24ccc94d0b7df4632db2184975 Fix fallback value of LOCALE_ZH_CN. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2009-02-07 Bruno Haible + + * test-mbrtowc4.sh (LOCALE_ZH_CN): Fix default value. + * test-mbsnrtowcs4.sh (LOCALE_ZH_CN): Likewise. + * test-mbsrtowcs4.sh (LOCALE_ZH_CN): Likewise. + * test-wcrtomb.sh (LOCALE_ZH_CN): Likewise. + * test-wcsnrtombs4.sh (LOCALE_ZH_CN): Likewise. + * test-wcsrtombs4.sh (LOCALE_ZH_CN): Likewise. + 2009-02-07 Bruno Haible Make 64-bit clean. diff --git a/tests/test-mbrtowc4.sh b/tests/test-mbrtowc4.sh --- a/tests/test-mbrtowc4.sh +++ b/tests/test-mbrtowc4.sh @@ -1,7 +1,7 @@ #!/bin/sh # Test whether a specific GB18030 locale is installed. -: ${LOCALE_ZH_CN=zh_CN} +: ${LOCALE_ZH_CN=zh_CN.GB18030} if test $LOCALE_ZH_CN = none; then if test -f /usr/bin/localedef; then echo "Skipping test: no transitional chinese locale is installed" diff --git a/tests/test-mbsnrtowcs4.sh b/tests/test-mbsnrtowcs4.sh --- a/tests/test-mbsnrtowcs4.sh +++ b/tests/test-mbsnrtowcs4.sh @@ -1,7 +1,7 @@ #!/bin/sh # Test whether a specific GB18030 locale is installed. -: ${LOCALE_ZH_CN=zh_CN} +: ${LOCALE_ZH_CN=zh_CN.GB18030} if test $LOCALE_ZH_CN = none; then if test -f /usr/bin/localedef; then echo "Skipping test: no transitional chinese locale is installed" diff --git a/tests/test-mbsrtowcs4.sh b/tests/test-mbsrtowcs4.sh --- a/tests/test-mbsrtowcs4.sh +++ b/tests/test-mbsrtowcs4.sh @@ -1,7 +1,7 @@ #!/bin/sh # Test whether a specific GB18030 locale is installed. -: ${LOCALE_ZH_CN=zh_CN} +: ${LOCALE_ZH_CN=zh_CN.GB18030} if test $LOCALE_ZH_CN = none; then if test -f /usr/bin/localedef; then echo "Skipping test: no transitional chinese locale is installed" diff --git a/tests/test-wcrtomb.sh b/tests/test-wcrtomb.sh --- a/tests/test-wcrtomb.sh +++ b/tests/test-wcrtomb.sh @@ -25,7 +25,7 @@ fi # Test whether a specific GB18030 locale is installed. -: ${LOCALE_ZH_CN=zh_CN} +: ${LOCALE_ZH_CN=zh_CN.GB18030} if test $LOCALE_ZH_CN != none; then LC_ALL=$LOCALE_ZH_CN \ ./test-wcrtomb${EXEEXT} 4 \ diff --git a/tests/test-wcsnrtombs4.sh b/tests/test-wcsnrtombs4.sh --- a/tests/test-wcsnrtombs4.sh +++ b/tests/test-wcsnrtombs4.sh @@ -1,7 +1,7 @@ #!/bin/sh # Test whether a specific GB18030 locale is installed. -: ${LOCALE_ZH_CN=zh_CN} +: ${LOCALE_ZH_CN=zh_CN.GB18030} if test $LOCALE_ZH_CN = none; then if test -f /usr/bin/localedef; then echo "Skipping test: no transitional chinese locale is installed" diff --git a/tests/test-wcsrtombs4.sh b/tests/test-wcsrtombs4.sh --- a/tests/test-wcsrtombs4.sh +++ b/tests/test-wcsrtombs4.sh @@ -1,7 +1,7 @@ #!/bin/sh # Test whether a specific GB18030 locale is installed. -: ${LOCALE_ZH_CN=zh_CN} +: ${LOCALE_ZH_CN=zh_CN.GB18030} if test $LOCALE_ZH_CN = none; then if test -f /usr/bin/localedef; then echo "Skipping test: no transitional chinese locale is installed"