advapi32/tests: Skip tests on non-English systems.

This commit is contained in:
Detlef Riekenberg 2013-02-10 23:19:47 +01:00 committed by Alexandre Julliard
parent 461c09e5d6
commit 245dbaac5d

View File

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