advapi32/tests: Don't use locale dependent string for testing.
This commit is contained in:
parent
86e2d1a5e7
commit
c213c2c2ab
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue