From 094e468080b9ea7396c243b7fb324b1fcd57323a Mon Sep 17 00:00:00 2001 From: Daniel Lehman Date: Tue, 1 May 2018 14:04:04 -0700 Subject: [PATCH 1/4] msvcrt/tests: Add setlocale test. Signed-off-by: Daniel Lehman --- dlls/msvcrt/tests/locale.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/msvcrt/tests/locale.c b/dlls/msvcrt/tests/locale.c index 5e6d172b8f2..024afc15b3d 100644 --- a/dlls/msvcrt/tests/locale.c +++ b/dlls/msvcrt/tests/locale.c @@ -614,6 +614,9 @@ static void test_setlocale(void) ret = setlocale(LC_ALL, "English_United States.UTF8"); ok(ret == NULL, "ret != NULL\n"); + + ret = setlocale(LC_ALL, "en-US"); + ok(ret == NULL || broken (ret != NULL), "ret != NULL\n"); /* XP & 2003 */ } static void test_crtGetStringTypeW(void) -- 2.17.0