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
a9ef1dd5
Commit
a9ef1dd5
authored
Aug 16, 2018
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 16, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Add more pipe tests.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7e0d1025
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
pipe.c
dlls/kernel32/tests/pipe.c
+5
-0
No files found.
dlls/kernel32/tests/pipe.c
View file @
a9ef1dd5
...
...
@@ -1448,6 +1448,11 @@ static int test_DisconnectNamedPipe(void)
ok
(
DisconnectNamedPipe
(
hnp
),
"DisconnectNamedPipe while messages waiting
\n
"
);
ok
(
WriteFile
(
hFile
,
obuf
,
sizeof
(
obuf
),
&
written
,
NULL
)
==
0
&&
GetLastError
()
==
ERROR_PIPE_NOT_CONNECTED
,
"WriteFile to disconnected pipe
\n
"
);
ok
(
WriteFile
(
hnp
,
obuf
,
sizeof
(
obuf
),
&
written
,
NULL
)
==
0
&&
GetLastError
()
==
ERROR_PIPE_NOT_CONNECTED
,
"WriteFile to disconnected pipe
\n
"
);
ok
(
ReadFile
(
hFile
,
ibuf
,
sizeof
(
ibuf
),
&
readden
,
NULL
)
==
0
&&
GetLastError
()
==
ERROR_PIPE_NOT_CONNECTED
,
"ReadFile from disconnected pipe with bytes waiting
\n
"
);
ok
(
ReadFile
(
hnp
,
ibuf
,
sizeof
(
ibuf
),
&
readden
,
NULL
)
==
0
&&
GetLastError
()
==
ERROR_PIPE_NOT_CONNECTED
,
"ReadFile from disconnected pipe with bytes waiting
\n
"
);
...
...
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