about summary refs log tree commit diff
path: root/wcsmbs
diff options
context:
space:
mode:
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]))