ws2_32/tests: Fix win9x test failure.

This commit is contained in:
Mike Kaplinskiy 2010-03-23 22:02:59 -04:00 committed by Alexandre Julliard
parent ef7abf1087
commit 03651926b7
1 changed files with 2 additions and 1 deletions

View File

@ -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: