Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e3c8794d
Commit
e3c8794d
authored
Jan 13, 2017
by
Huw Davies
Committed by
Alexandre Julliard
Jan 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Update ACE registry tests with Windows 10 values.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5864ef41
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
security.c
dlls/advapi32/tests/security.c
+9
-3
No files found.
dlls/advapi32/tests/security.c
View file @
e3c8794d
...
@@ -4033,10 +4033,14 @@ static void test_GetNamedSecurityInfoA(void)
...
@@ -4033,10 +4033,14 @@ static void test_GetNamedSecurityInfoA(void)
ok
(
bret
,
"Failed to get Builtin Users ACE.
\n
"
);
ok
(
bret
,
"Failed to get Builtin Users ACE.
\n
"
);
flags
=
((
ACE_HEADER
*
)
ace
)
->
AceFlags
;
flags
=
((
ACE_HEADER
*
)
ace
)
->
AceFlags
;
ok
(
flags
==
(
INHERIT_ONLY_ACE
|
CONTAINER_INHERIT_ACE
)
ok
(
flags
==
(
INHERIT_ONLY_ACE
|
CONTAINER_INHERIT_ACE
)
||
broken
(
flags
==
(
INHERIT_ONLY_ACE
|
CONTAINER_INHERIT_ACE
|
INHERITED_ACE
))
/* w2k8 */
,
||
broken
(
flags
==
(
INHERIT_ONLY_ACE
|
CONTAINER_INHERIT_ACE
|
INHERITED_ACE
))
/* w2k8 */
||
broken
(
flags
==
(
CONTAINER_INHERIT_ACE
|
INHERITED_ACE
))
/* win 10 wow64 */
||
broken
(
flags
==
CONTAINER_INHERIT_ACE
),
/* win 10 */
"Builtin Users ACE has unexpected flags (0x%x != 0x%x)
\n
"
,
flags
,
"Builtin Users ACE has unexpected flags (0x%x != 0x%x)
\n
"
,
flags
,
INHERIT_ONLY_ACE
|
CONTAINER_INHERIT_ACE
);
INHERIT_ONLY_ACE
|
CONTAINER_INHERIT_ACE
);
ok
(
ace
->
Mask
==
GENERIC_READ
,
"Builtin Users ACE has unexpected mask (0x%x != 0x%x)
\n
"
,
ok
(
ace
->
Mask
==
GENERIC_READ
||
broken
(
ace
->
Mask
==
KEY_READ
),
/* win 10 */
"Builtin Users ACE has unexpected mask (0x%x != 0x%x)
\n
"
,
ace
->
Mask
,
GENERIC_READ
);
ace
->
Mask
,
GENERIC_READ
);
}
}
ok
(
admins_ace_id
!=
-
1
,
"Bultin Admins ACE not found.
\n
"
);
ok
(
admins_ace_id
!=
-
1
,
"Bultin Admins ACE not found.
\n
"
);
...
@@ -4048,7 +4052,9 @@ static void test_GetNamedSecurityInfoA(void)
...
@@ -4048,7 +4052,9 @@ static void test_GetNamedSecurityInfoA(void)
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+ */
||
broken
(
flags
==
(
INHERIT_ONLY_ACE
|
CONTAINER_INHERIT_ACE
))
/* win8+ */
||
broken
(
flags
==
(
CONTAINER_INHERIT_ACE
|
INHERITED_ACE
))
/* win 10 wow64 */
||
broken
(
flags
==
CONTAINER_INHERIT_ACE
),
/* win 10 */
"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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment