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
59504204
Commit
59504204
authored
Sep 06, 2016
by
André Hentschel
Committed by
Alexandre Julliard
Sep 07, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Allow ERROR_ACCESS_DENIED for GetThreadContext.
Signed-off-by:
André Hentschel
<
nerv@dawncrow.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
54f7a638
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
thread.c
dlls/kernel32/tests/thread.c
+2
-2
No files found.
dlls/kernel32/tests/thread.c
View file @
59504204
...
...
@@ -1083,10 +1083,10 @@ static void test_SetThreadContext(void)
ctx
.
ContextFlags
=
CONTEXT_FULL
;
SetLastError
(
0xdeadbeef
);
ret
=
GetThreadContext
(
thread
,
&
ctx
);
ok
(
(
!
ret
&&
(
GetLastError
()
==
ERROR_GEN_FAILURE
))
||
ok
(
(
!
ret
&&
(
(
GetLastError
()
==
ERROR_GEN_FAILURE
)
||
(
GetLastError
()
==
ERROR_ACCESS_DENIED
)
))
||
(
!
ret
&&
broken
(
GetLastError
()
==
ERROR_INVALID_HANDLE
))
||
/* win2k */
broken
(
ret
),
/* 32bit application on NT 5.x 64bit */
"got %d with %u (expected FALSE with ERROR_GEN_FAILURE)
\n
"
,
"got %d with %u (expected FALSE with ERROR_GEN_FAILURE
or ERROR_ACCESS_DENIED
)
\n
"
,
ret
,
GetLastError
()
);
SetLastError
(
0xdeadbeef
);
...
...
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