ws2_32/tests: Fix win9x test failure.
This commit is contained in:
parent
ef7abf1087
commit
03651926b7
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue