ws2_32/tests: Don't test WSAGetLastError() value on success.
This cuts the test output from around 1600 to around 1100 lines Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fe09e2dba6
commit
67b690dba9
|
@ -1250,6 +1250,7 @@ static void test_WithWSAStartup(void)
|
|||
res = getsockname(sock, (struct sockaddr *)&saddr, &size);
|
||||
error = WSAGetLastError();
|
||||
ok(res == SOCKET_ERROR, "Test[%d]: getsockname should have failed\n", i);
|
||||
if (res == SOCKET_ERROR)
|
||||
ok(error == WSAENOTSOCK, "Test[%d]: expected 10038, got %d\n", i, error);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue