Commit 99109567 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

advapi32: Properly skip the tests that depend on English locale.

parent c3afbcfd
......@@ -1917,7 +1917,7 @@ static void test_LookupAccountName(void)
domain_size = domain_save;
sid_size = sid_save;
if (PRIMARYLANGID(LANGIDFROMLCID(GetThreadLocale())) != LANG_ENGLISH)
if (GetSystemDefaultLangID() != LANG_ENGLISH)
{
skip("Non-english locale (test with hardcoded 'Everyone')\n");
}
......@@ -2055,7 +2055,7 @@ static void test_LookupAccountName(void)
return;
}
if (PRIMARYLANGID(LANGIDFROMLCID(GetThreadLocale())) != LANG_ENGLISH)
if (GetSystemDefaultLangID() != LANG_ENGLISH)
{
skip("Non-english locale (skipping well known name creation tests)\n");
return;
......@@ -2542,7 +2542,7 @@ static void test_SetEntriesInAclW(void)
ok(NewAcl != NULL, "returned acl was NULL\n");
LocalFree(NewAcl);
if (PRIMARYLANGID(LANGIDFROMLCID(GetThreadLocale())) != LANG_ENGLISH)
if (GetSystemDefaultLangID() != LANG_ENGLISH)
{
skip("Non-english locale (test with hardcoded 'Everyone')\n");
}
......@@ -2673,7 +2673,7 @@ static void test_SetEntriesInAclA(void)
ok(NewAcl != NULL, "returned acl was NULL\n");
LocalFree(NewAcl);
if (PRIMARYLANGID(LANGIDFROMLCID(GetThreadLocale())) != LANG_ENGLISH)
if (GetSystemDefaultLangID() != LANG_ENGLISH)
{
skip("Non-english locale (test with hardcoded 'Everyone')\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment