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:
Zebediah Figura 2021-05-12 21:59:22 -05:00 committed by Alexandre Julliard
parent 44a3c70d77
commit 11102116ac
1 changed files with 5 additions and 0 deletions

View File

@ -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(ctx, 0, 0, 0);
ret = recv(server, buffer, 5, 0);
ok(!ret, "got %d\n", ret);
check_events(ctx, 0, 0, 0);
closesocket(server);
/* Test shutdown(remote end, SD_SEND). */