Sweden-Number/dlls/ws2_32/tests
Jinoh Kang 29883e2db9 ws2_32/tests: Continue sending remaining data on short write in test_write_events.
Today, we assert that a short write clears the FD_WRITE event bit;
however, short writes can never happen on Windows in the first place.
We're testing for a property of a socket behaviour that does not exist
on Windows, but currently happens to be exhibited by Wine.

Ignore short writes, and continue sending until it fails with
EWOULDBLOCK.  This way, the test won't care whether or not a short write
clears FD_WRITE.  This allows us some flexibility in implementation of
send().

Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-22 18:36:49 +01:00
..
Makefile.in ws2_32/tests: Enable compilation with long types. 2022-03-10 09:31:27 +01:00
afd.c ws2_32/tests: Enable compilation with long types. 2022-03-10 09:31:27 +01:00
protocol.c ws2_32/tests: Test getaddrinfo() for IPv6 DNS querying. 2022-03-22 10:24:42 +01:00
sock.c ws2_32/tests: Continue sending remaining data on short write in test_write_events. 2022-03-22 18:36:49 +01:00