mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 20:55:40 +00:00
advapi32/tests: Check that each ACE is ACCESS_ALLOWED_ACE in the default DACL.
To ensure type safety, without complicating the test.
This commit is contained in:
parent
31d2a87ba0
commit
67429f3ad6
|
@ -6368,6 +6368,8 @@ static void test_default_dacl_owner_sid(void)
|
|||
found = FALSE;
|
||||
while (GetAce( dacl, index++, (void **)&ace ))
|
||||
{
|
||||
ok( ace->Header.AceType == ACCESS_ALLOWED_ACE_TYPE,
|
||||
"expected ACCESS_ALLOWED_ACE_TYPE, got %d\n", ace->Header.AceType );
|
||||
if (EqualSid( &ace->SidStart, owner )) found = TRUE;
|
||||
}
|
||||
ok( found, "owner sid not found in dacl\n" );
|
||||
|
|
Loading…
Reference in a new issue