aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-10-15 15:38:52 +0000
committerUlrich Drepper <drepper@redhat.com>2005-10-15 15:38:52 +0000
commitebb58ba3c23dc0d24d1b09aafd289f208ce6e75b (patch)
tree4ee0c22da1349672fa77bf6453db84c363893b65 /wcsmbs
parent1ba81cea2789200c5247ad017653199b9666a461 (diff)
downloadglibc-ebb58ba3c23dc0d24d1b09aafd289f208ce6e75b.tar
glibc-ebb58ba3c23dc0d24d1b09aafd289f208ce6e75b.tar.gz
glibc-ebb58ba3c23dc0d24d1b09aafd289f208ce6e75b.tar.bz2
glibc-ebb58ba3c23dc0d24d1b09aafd289f208ce6e75b.zip
* wcsmbs/tst-mbrtowc2.c: Use de_DE.UTF-8 instead of en_US.UTF-8.
* wcsmbs/Makefile: Define tst-mbrtowc2-ENV.
Diffstat (limited to 'wcsmbs')
-rw-r--r--wcsmbs/Makefile1
-rw-r--r--wcsmbs/tst-mbrtowc2.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/wcsmbs/Makefile b/wcsmbs/Makefile
index 65de855837..4aab7e8d89 100644
--- a/wcsmbs/Makefile
+++ b/wcsmbs/Makefile
@@ -67,3 +67,4 @@ CFLAGS-tst-wchar-h.c = -D_FORTIFY_SOURCE=2
tst-btowc-ENV = LOCPATH=$(common-objpfx)localedata
tst-mbrtowc-ENV = LOCPATH=$(common-objpfx)localedata
tst-wcrtomb-ENV = LOCPATH=$(common-objpfx)localedata
+tst-mbrtowc2-ENV = LOCPATH=$(common-objpfx)localedata
diff --git a/wcsmbs/tst-mbrtowc2.c b/wcsmbs/tst-mbrtowc2.c
index 4314bdb137..67d8e29a0f 100644
--- a/wcsmbs/tst-mbrtowc2.c
+++ b/wcsmbs/tst-mbrtowc2.c
@@ -17,8 +17,8 @@ static struct
{ (const char[]) { 0x8E, 0xA5 }, 2, "ja_JP.EUC-JP" },
{ (const char[]) { 0x8E, 0xA2, 0xA1, 0xA1 }, 4, "zh_TW.EUC-TW" },
{ (const char[]) { 0xA1, 0xA1 }, 2, "zh_TW.EUC-TW" },
- { (const char[]) { 0xE3, 0x80, 0x80 }, 3, "en_US.UTF-8" },
- { (const char[]) { 0xC3, 0xA4 }, 2, "en_US.UTF-8" }
+ { (const char[]) { 0xE3, 0x80, 0x80 }, 3, "de_DE.UTF-8" },
+ { (const char[]) { 0xC3, 0xA4 }, 2, "de_DE.UTF-8" }
};
#define ntests (sizeof (tests) / sizeof (tests[0]))