From 7ac3c8700c677e700a8079a49cc1a8606a09912d Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Thu, 14 Jun 2012 11:35:31 +0200 Subject: [PATCH] msvcrt/tests: Fix Portuguese locale test on NT4. --- dlls/msvcrt/tests/locale.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/msvcrt/tests/locale.c b/dlls/msvcrt/tests/locale.c index 638a3d24085..225cbb9f1b8 100644 --- a/dlls/msvcrt/tests/locale.c +++ b/dlls/msvcrt/tests/locale.c @@ -475,7 +475,8 @@ static void test_setlocale(void) ret = setlocale(LC_ALL, "portuguese"); ok(ret != NULL || broken (ret == NULL), "ret == NULL\n"); if(ret) - ok(!strcmp(ret, "Portuguese_Brazil.1252"), "ret = %s\n", ret); + ok(!strcmp(ret, "Portuguese_Brazil.1252") + || broken(!strcmp(ret, "Portuguese_Portugal.1252")) /* NT4 */, "ret = %s\n", ret); ret = setlocale(LC_ALL, "portuguese-brazil"); ok(ret != NULL || broken (ret == NULL), "ret == NULL\n");