Commit 70bb6551 authored by Gijs Vermeulen's avatar Gijs Vermeulen Committed by Alexandre Julliard

advapi32/tests: Fix test_process_security with non-English locale.

parent 170ab94b
......@@ -3004,7 +3004,10 @@ static void test_process_security(void)
ret = LookupAccountSidA( NULL, UsersSid, account, &acc_size, domain, &dom_size, &use );
ok(ret, "LookupAccountSid failed with %d\n", ret);
todo_wine ok(use == SidTypeGroup, "expect SidTypeGroup, got %d\n", use);
todo_wine ok(!strcmp(account, "None"), "expect None, got %s\n", account);
if (PRIMARYLANGID(GetSystemDefaultLangID()) != LANG_ENGLISH)
skip("Non-English locale (test with hardcoded 'None')\n");
else
todo_wine ok(!strcmp(account, "None"), "expect None, got %s\n", account);
res = GetTokenInformation( token, TokenUser, NULL, 0, &size );
ok(!res, "Expected failure, got %d\n", res);
......
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