Commit 4464793e authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

advapi32/tests: Allow Win8+ flags for Admins ACE.

parent 9db9c9ef
...@@ -4023,7 +4023,8 @@ static void test_GetNamedSecurityInfoA(void) ...@@ -4023,7 +4023,8 @@ static void test_GetNamedSecurityInfoA(void)
flags = ((ACE_HEADER *)ace)->AceFlags; flags = ((ACE_HEADER *)ace)->AceFlags;
ok(flags == 0x0 ok(flags == 0x0
|| broken(flags == (INHERIT_ONLY_ACE|CONTAINER_INHERIT_ACE|INHERITED_ACE)) /* w2k8 */ || broken(flags == (INHERIT_ONLY_ACE|CONTAINER_INHERIT_ACE|INHERITED_ACE)) /* w2k8 */
|| broken(flags == (OBJECT_INHERIT_ACE|CONTAINER_INHERIT_ACE)), /* win7 */ || broken(flags == (OBJECT_INHERIT_ACE|CONTAINER_INHERIT_ACE)) /* win7 */
|| broken(flags == (INHERIT_ONLY_ACE|CONTAINER_INHERIT_ACE)), /* win8+ */
"Builtin Admins ACE has unexpected flags (0x%x != 0x0)\n", flags); "Builtin Admins ACE has unexpected flags (0x%x != 0x0)\n", flags);
ok(ace->Mask == KEY_ALL_ACCESS || broken(ace->Mask == GENERIC_ALL) /* w2k8 */, ok(ace->Mask == KEY_ALL_ACCESS || broken(ace->Mask == GENERIC_ALL) /* w2k8 */,
"Builtin Admins ACE has unexpected mask (0x%x != 0x%x)\n", ace->Mask, KEY_ALL_ACCESS); "Builtin Admins ACE has unexpected mask (0x%x != 0x%x)\n", ace->Mask, KEY_ALL_ACCESS);
......
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