ws2_32/tests: Add some tests for sockets bound to a completion port.

Dmitry Timoshkov dmitry at baikal.ru
Fri Nov 3 22:34:32 CDT 2017


Alexandre Julliard <julliard at winehq.org> wrote:

> > +        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.

Oops, thanks for spotting these glaring bugs.

-- 
Dmitry.



More information about the wine-devel mailing list