Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
37e00a87
Commit
37e00a87
authored
Jan 19, 2021
by
Daniel Lehman
Committed by
Alexandre Julliard
Jan 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Fix error messages for mutant test.
Signed-off-by:
Daniel Lehman
<
dlehman25@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
83afd177
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
om.c
dlls/ntdll/tests/om.c
+4
-4
No files found.
dlls/ntdll/tests/om.c
View file @
37e00a87
...
...
@@ -1984,13 +1984,13 @@ static void test_mutant(void)
prev
=
0xdeadbeef
;
status
=
pNtReleaseMutant
(
mutant
,
&
prev
);
ok
(
status
==
STATUS_SUCCESS
,
"Nt
QueryRelease
failed %08x
\n
"
,
status
);
ok
(
prev
==
-
1
,
"Nt
QueryRelease
failed, expected -1, got %d
\n
"
,
prev
);
ok
(
status
==
STATUS_SUCCESS
,
"Nt
ReleaseMutant
failed %08x
\n
"
,
status
);
ok
(
prev
==
-
1
,
"Nt
ReleaseMutant
failed, expected -1, got %d
\n
"
,
prev
);
prev
=
0xdeadbeef
;
status
=
pNtReleaseMutant
(
mutant
,
&
prev
);
ok
(
status
==
STATUS_SUCCESS
,
"Nt
QueryRelease
failed %08x
\n
"
,
status
);
ok
(
prev
==
0
,
"Nt
QueryRelease
failed, expected 0, got %d
\n
"
,
prev
);
ok
(
status
==
STATUS_SUCCESS
,
"Nt
ReleaseMutant
failed %08x
\n
"
,
status
);
ok
(
prev
==
0
,
"Nt
ReleaseMutant
failed, expected 0, got %d
\n
"
,
prev
);
memset
(
&
info
,
0xcc
,
sizeof
(
info
));
status
=
pNtQueryMutant
(
mutant
,
MutantBasicInformation
,
&
info
,
sizeof
(
info
),
NULL
);
...
...
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