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
3e23aa57
Commit
3e23aa57
authored
Jul 30, 2014
by
Sebastian Lackner
Committed by
Alexandre Julliard
Aug 21, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Add better handling for test failure in test_readfileex_pending.
parent
55396b70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
pipe.c
dlls/kernel32/tests/pipe.c
+8
-0
No files found.
dlls/kernel32/tests/pipe.c
View file @
3e23aa57
...
...
@@ -1845,6 +1845,14 @@ static void test_readfileex_pending(void)
wait
=
WaitForSingleObjectEx
(
event
,
0
,
TRUE
);
ok
(
wait
==
WAIT_IO_COMPLETION
||
wait
==
WAIT_OBJECT_0
,
"WaitForSingleObject returned %x
\n
"
,
wait
);
if
(
wait
==
WAIT_TIMEOUT
)
{
ret
=
ReadFile
(
client
,
read_buf
,
sizeof
(
read_buf
),
&
num_bytes
,
NULL
);
ok
(
ret
==
TRUE
,
"ReadFile failed
\n
"
);
ok
(
completion_called
==
0
,
"completion routine called during ReadFile
\n
"
);
wait
=
WaitForSingleObjectEx
(
event
,
0
,
TRUE
);
ok
(
wait
==
WAIT_IO_COMPLETION
||
wait
==
WAIT_OBJECT_0
,
"WaitForSingleObject returned %x
\n
"
,
wait
);
}
ok
(
completion_called
==
1
,
"completion routine not called
\n
"
);
ok
(
completion_errorcode
==
0
,
"completion called with error %x
\n
"
,
completion_errorcode
);
...
...
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