advapi32/tests: Skip tests on non-English systems.
This commit is contained in:
parent
461c09e5d6
commit
245dbaac5d
|
@ -255,7 +255,8 @@ static void test_LsaLookupNames2(void)
|
|||
return;
|
||||
}
|
||||
|
||||
if (PRIMARYLANGID(LANGIDFROMLCID(GetThreadLocale())) != LANG_ENGLISH)
|
||||
if ((PRIMARYLANGID(LANGIDFROMLCID(GetSystemDefaultLCID())) != LANG_ENGLISH) ||
|
||||
(PRIMARYLANGID(LANGIDFROMLCID(GetThreadLocale())) != LANG_ENGLISH))
|
||||
{
|
||||
skip("Non-English locale (skipping LsaLookupNames2 tests)\n");
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue