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
1 changed files with 2 additions and 1 deletions

View File

@ -255,7 +255,8 @@ static void test_LsaLookupNames2(void)
return; 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"); skip("Non-English locale (skipping LsaLookupNames2 tests)\n");
return; return;