Mike Kaplinskiy : ws2_32/tests: Fix win9x test failure.
Module: wine Branch: master Commit: 03651926b746f9f7024d1da8c4d1306cfe68ea6b URL: http://source.winehq.org/git/wine.git/?a=commit;h=03651926b746f9f7024d1da8c4... Author: Mike Kaplinskiy <mike.kaplinskiy(a)gmail.com> Date: Tue Mar 23 22:02:59 2010 -0400 ws2_32/tests: Fix win9x test failure. --- dlls/ws2_32/tests/sock.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index a8baeeb..88b62e3 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c @@ -2822,7 +2822,8 @@ static void test_WSARecv(void) ok(dwret == WAIT_OBJECT_0, "Waiting for disconnect event failed with %d + errno %d\n", dwret, GetLastError()); bret = GetOverlappedResult((HANDLE)dest, &ov, &bytesReturned, FALSE); - todo_wine ok(!bret && GetLastError() == ERROR_NETNAME_DELETED, "Did not get disconnect event: %d, error %d\n", bret, GetLastError()); + todo_wine ok(!bret && (GetLastError() == ERROR_NETNAME_DELETED || broken(GetLastError() == ERROR_IO_INCOMPLETE) /* win9x */), + "Did not get disconnect event: %d, error %d\n", bret, GetLastError()); ok(bytesReturned == 0, "Bytes received is %d\n", bytesReturned); end:
participants (1)
-
Alexandre Julliard