advapi32: Properly skip the tests that depend on English locale.
This commit is contained in:
parent
c3afbcfd60
commit
99109567ad
|
@ -1917,7 +1917,7 @@ static void test_LookupAccountName(void)
|
||||||
domain_size = domain_save;
|
domain_size = domain_save;
|
||||||
sid_size = sid_save;
|
sid_size = sid_save;
|
||||||
|
|
||||||
if (PRIMARYLANGID(LANGIDFROMLCID(GetThreadLocale())) != LANG_ENGLISH)
|
if (GetSystemDefaultLangID() != LANG_ENGLISH)
|
||||||
{
|
{
|
||||||
skip("Non-english locale (test with hardcoded 'Everyone')\n");
|
skip("Non-english locale (test with hardcoded 'Everyone')\n");
|
||||||
}
|
}
|
||||||
|
@ -2055,7 +2055,7 @@ static void test_LookupAccountName(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (PRIMARYLANGID(LANGIDFROMLCID(GetThreadLocale())) != LANG_ENGLISH)
|
if (GetSystemDefaultLangID() != LANG_ENGLISH)
|
||||||
{
|
{
|
||||||
skip("Non-english locale (skipping well known name creation tests)\n");
|
skip("Non-english locale (skipping well known name creation tests)\n");
|
||||||
return;
|
return;
|
||||||
|
@ -2542,7 +2542,7 @@ static void test_SetEntriesInAclW(void)
|
||||||
ok(NewAcl != NULL, "returned acl was NULL\n");
|
ok(NewAcl != NULL, "returned acl was NULL\n");
|
||||||
LocalFree(NewAcl);
|
LocalFree(NewAcl);
|
||||||
|
|
||||||
if (PRIMARYLANGID(LANGIDFROMLCID(GetThreadLocale())) != LANG_ENGLISH)
|
if (GetSystemDefaultLangID() != LANG_ENGLISH)
|
||||||
{
|
{
|
||||||
skip("Non-english locale (test with hardcoded 'Everyone')\n");
|
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");
|
ok(NewAcl != NULL, "returned acl was NULL\n");
|
||||||
LocalFree(NewAcl);
|
LocalFree(NewAcl);
|
||||||
|
|
||||||
if (PRIMARYLANGID(LANGIDFROMLCID(GetThreadLocale())) != LANG_ENGLISH)
|
if (GetSystemDefaultLangID() != LANG_ENGLISH)
|
||||||
{
|
{
|
||||||
skip("Non-english locale (test with hardcoded 'Everyone')\n");
|
skip("Non-english locale (test with hardcoded 'Everyone')\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue