Commit c213c2c2 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

advapi32/tests: Don't use locale dependent string for testing.

parent 86e2d1a5
...@@ -1406,8 +1406,10 @@ static void test_LookupAccountName(void) ...@@ -1406,8 +1406,10 @@ static void test_LookupAccountName(void)
ok(ret, "Failed to lookup account name\n"); ok(ret, "Failed to lookup account name\n");
todo_wine todo_wine
{ {
ok(!lstrcmp(account, "BUILTIN"), "Expected BUILTIN, got %s\n", account); /* Using a fixed string will not work on different locales */
ok(!lstrcmp(domain, "BUILTIN"), "Expected BUILTIN, got %s\n", domain); ok(!lstrcmp(account, domain),
"Got %s for account and %s for domain, these should be the same\n",
account, domain);
ok(sid_use == SidTypeDomain, "Expected SidTypeDomain, got %d\n", SidTypeDomain); ok(sid_use == SidTypeDomain, "Expected SidTypeDomain, got %d\n", SidTypeDomain);
} }
......
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