msvcrt/tests: Fix Portuguese locale test on NT4.

This commit is contained in:
Piotr Caban 2012-06-14 11:35:31 +02:00 committed by Alexandre Julliard
parent ed7c28353d
commit 7ac3c8700c
1 changed files with 2 additions and 1 deletions

View File

@ -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");