mirror of
https://github.com/reactos/reactos.git
synced 2025-08-11 10:15:32 +00:00
sync kernel32_winetest with wine 1.1.24
svn path=/trunk/; revision=41580
This commit is contained in:
parent
c90eb62d17
commit
2d5297edef
4 changed files with 175 additions and 90 deletions
|
@ -836,6 +836,7 @@ static int test_DisconnectNamedPipe(void)
|
|||
char ibuf[32];
|
||||
DWORD written;
|
||||
DWORD readden;
|
||||
DWORD ret;
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
hnp = CreateNamedPipe(PIPENAME, PIPE_ACCESS_DUPLEX, PIPE_TYPE_BYTE | PIPE_WAIT,
|
||||
|
@ -876,6 +877,8 @@ static int test_DisconnectNamedPipe(void)
|
|||
"ReadFile from disconnected pipe with bytes waiting\n");
|
||||
ok(!DisconnectNamedPipe(hnp) && GetLastError() == ERROR_PIPE_NOT_CONNECTED,
|
||||
"DisconnectNamedPipe worked twice\n");
|
||||
ret = WaitForSingleObject(hFile, 0);
|
||||
ok(ret == WAIT_TIMEOUT, "WaitForSingleObject returned %X\n", ret);
|
||||
ok(CloseHandle(hFile), "CloseHandle\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue