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
c63b323e
Commit
c63b323e
authored
Sep 14, 2023
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 14, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Allow a 0 removed entry count in the completion test.
This matches the ntdll:file fix. Wine-Bug:
https://bugs.winehq.org//show_bug.cgi?id=54554
parent
2830f985
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
file.c
dlls/kernel32/tests/file.c
+3
-3
No files found.
dlls/kernel32/tests/file.c
View file @
c63b323e
...
...
@@ -5559,7 +5559,7 @@ static void test_post_completion(void)
ret
=
pGetQueuedCompletionStatusEx
(
port
,
entries
,
2
,
&
count
,
0
,
FALSE
);
ok
(
!
ret
,
"GetQueuedCompletionStatusEx succeeded
\n
"
);
ok
(
GetLastError
()
==
WAIT_TIMEOUT
,
"wrong error %lu
\n
"
,
GetLastError
());
ok
(
count
=
=
1
,
"wrong count %lu
\n
"
,
count
);
ok
(
count
<
=
1
,
"wrong count %lu
\n
"
,
count
);
ret
=
PostQueuedCompletionStatus
(
port
,
123
,
456
,
&
ovl
);
ok
(
ret
,
"PostQueuedCompletionStatus failed: %lu
\n
"
,
GetLastError
());
...
...
@@ -5600,14 +5600,14 @@ static void test_post_completion(void)
ret
=
pGetQueuedCompletionStatusEx
(
port
,
entries
,
2
,
&
count
,
0
,
FALSE
);
ok
(
!
ret
,
"GetQueuedCompletionStatusEx succeeded
\n
"
);
ok
(
GetLastError
()
==
WAIT_TIMEOUT
,
"wrong error %lu
\n
"
,
GetLastError
());
ok
(
count
=
=
1
,
"wrong count %lu
\n
"
,
count
);
ok
(
count
<
=
1
,
"wrong count %lu
\n
"
,
count
);
ok
(
!
user_apc_ran
,
"user APC should not have run
\n
"
);
ret
=
pGetQueuedCompletionStatusEx
(
port
,
entries
,
2
,
&
count
,
0
,
TRUE
);
ok
(
!
ret
||
broken
(
ret
)
/* Vista */
,
"GetQueuedCompletionStatusEx succeeded
\n
"
);
if
(
!
ret
)
ok
(
GetLastError
()
==
WAIT_IO_COMPLETION
,
"wrong error %lu
\n
"
,
GetLastError
());
ok
(
count
=
=
1
,
"wrong count %lu
\n
"
,
count
);
ok
(
count
<
=
1
,
"wrong count %lu
\n
"
,
count
);
ok
(
user_apc_ran
,
"user APC should have run
\n
"
);
user_apc_ran
=
FALSE
;
...
...
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