ws2_32/tests: Verify that recv() does not reset a pending FD_CLOSE.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
44a3c70d77
commit
11102116ac
|
@ -4463,6 +4463,11 @@ static void test_close_events(struct event_test_ctx *ctx)
|
||||||
check_events_todo_msg(ctx, FD_CLOSE, 0, 200);
|
check_events_todo_msg(ctx, FD_CLOSE, 0, 200);
|
||||||
check_events(ctx, 0, 0, 0);
|
check_events(ctx, 0, 0, 0);
|
||||||
|
|
||||||
|
ret = recv(server, buffer, 5, 0);
|
||||||
|
ok(!ret, "got %d\n", ret);
|
||||||
|
|
||||||
|
check_events(ctx, 0, 0, 0);
|
||||||
|
|
||||||
closesocket(server);
|
closesocket(server);
|
||||||
|
|
||||||
/* Test shutdown(remote end, SD_SEND). */
|
/* Test shutdown(remote end, SD_SEND). */
|
||||||
|
|
Loading…
Reference in New Issue