changeset 11118:d39a9bdacb69

Fix fallback value of LOCALE_ZH_CN.
author Bruno Haible <bruno@clisp.org>
date Sat, 07 Feb 2009 22:29:08 +0100
parents 7e0bad87f4f5
children 5d0199ab0adb
files ChangeLog tests/test-mbrtowc4.sh tests/test-mbsnrtowcs4.sh tests/test-mbsrtowcs4.sh tests/test-wcrtomb.sh tests/test-wcsnrtombs4.sh tests/test-wcsrtombs4.sh
diffstat 7 files changed, 15 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2009-02-07  Bruno Haible  <bruno@clisp.org>
+
+	* 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  <bruno@clisp.org>
 
 	Make 64-bit clean.
--- 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"
--- 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"
--- 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"
--- 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 \
--- 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"
--- 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"