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
fa0da6a2
Commit
fa0da6a2
authored
Sep 09, 2018
by
André Hentschel
Committed by
Alexandre Julliard
Sep 10, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/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
56885a1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
loader.c
dlls/kernel32/tests/loader.c
+4
-2
No files found.
dlls/kernel32/tests/loader.c
View file @
fa0da6a2
...
@@ -3163,7 +3163,8 @@ todo_wine
...
@@ -3163,7 +3163,8 @@ todo_wine
if
(
!
ret
)
if
(
!
ret
)
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
||
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
||
GetLastError
()
==
ERROR_GEN_FAILURE
/* win7 64-bit */
||
GetLastError
()
==
ERROR_GEN_FAILURE
/* win7 64-bit */
||
GetLastError
()
==
ERROR_INVALID_FUNCTION
/* vista 64-bit */
,
GetLastError
()
==
ERROR_INVALID_FUNCTION
/* vista 64-bit */
||
GetLastError
()
==
ERROR_ACCESS_DENIED
/* Win10 32-bit */
,
"expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
"expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
ctx
.
ContextFlags
=
CONTEXT_INTEGER
;
ctx
.
ContextFlags
=
CONTEXT_INTEGER
;
...
@@ -3186,7 +3187,8 @@ todo_wine
...
@@ -3186,7 +3187,8 @@ todo_wine
if
(
!
ret
)
if
(
!
ret
)
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
||
ok
(
GetLastError
()
==
ERROR_INVALID_PARAMETER
||
GetLastError
()
==
ERROR_GEN_FAILURE
/* win7 64-bit */
||
GetLastError
()
==
ERROR_GEN_FAILURE
/* win7 64-bit */
||
GetLastError
()
==
ERROR_INVALID_FUNCTION
/* vista 64-bit */
,
GetLastError
()
==
ERROR_INVALID_FUNCTION
/* vista 64-bit */
||
GetLastError
()
==
ERROR_ACCESS_DENIED
/* Win10 32-bit */
,
"expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
"expected ERROR_INVALID_PARAMETER, got %d
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
ctx
.
ContextFlags
=
CONTEXT_INTEGER
;
ctx
.
ContextFlags
=
CONTEXT_INTEGER
;
...
...
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