ws2_32/tests: Add some tests for sockets bound to a completion port.
Alexandre Julliard
julliard at winehq.org
Fri Nov 3 17:49:55 CDT 2017
Dmitry Timoshkov <dmitry at baikal.ru> writes:
> + if (pNtClose)
> + {
> + pNtClose((HANDLE)src);
> + break;
> + }
> + win_skip("NtClose is not available on this platform");
> + how_to_close = 1;
The test and skip are not necessary, we no longer support win9x in
tests.
> + ok(ovl_iocp->Internal == STATUS_CONNECTION_ABORTED || STATUS_LOCAL_DISCONNECT /* XP */, "got %#lx\n", ovl_iocp->Internal);
The second part of the || is always true so this is not testing
anything.
> + ok(ovl_iocp->Internal == STATUS_CONNECTION_ABORTED || STATUS_LOCAL_DISCONNECT /* XP */, "got %#lx\n", ovl_iocp->Internal);
Same here.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list