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
056c0039
Commit
056c0039
authored
Sep 15, 2018
by
André Hentschel
Committed by
Alexandre Julliard
Sep 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Allow ERROR_ACCESS_DENIED for newer Win10.
Signed-off-by:
André Hentschel
<
nerv@dawncrow.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0a7293a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
security.c
dlls/advapi32/tests/security.c
+2
-2
No files found.
dlls/advapi32/tests/security.c
View file @
056c0039
...
...
@@ -6566,7 +6566,7 @@ static void test_system_security_access(void)
/* privilege is checked on access */
err
=
GetSecurityInfo
(
hkey
,
SE_REGISTRY_KEY
,
SACL_SECURITY_INFORMATION
,
NULL
,
NULL
,
NULL
,
&
sacl
,
&
sd
);
todo_wine
ok
(
err
==
ERROR_PRIVILEGE_NOT_HELD
,
"got %u
\n
"
,
err
);
todo_wine
ok
(
err
==
ERROR_PRIVILEGE_NOT_HELD
||
err
==
ERROR_ACCESS_DENIED
,
"got %u
\n
"
,
err
);
if
(
err
==
ERROR_SUCCESS
)
LocalFree
(
sd
);
...
...
@@ -6603,7 +6603,7 @@ static void test_system_security_access(void)
ok
(
res
==
ERROR_SUCCESS
,
"got %d
\n
"
,
res
);
err
=
GetSecurityInfo
(
hkey
,
SE_REGISTRY_KEY
,
SACL_SECURITY_INFORMATION
,
NULL
,
NULL
,
NULL
,
&
sacl
,
&
sd
);
todo_wine
ok
(
err
==
ERROR_PRIVILEGE_NOT_HEL
D
,
"got %u
\n
"
,
err
);
ok
(
err
==
ERROR_PRIVILEGE_NOT_HELD
||
err
==
ERROR_ACCESS_DENIE
D
,
"got %u
\n
"
,
err
);
RegCloseKey
(
hkey
);
res
=
RegDeleteKeyW
(
HKEY_LOCAL_MACHINE
,
testkeyW
);
...
...
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