[PATCH] ws2_32: enable a WSAEnumNetworkEvents test that never runs
Damjan Jovanovic
damjan.jov at gmail.com
Wed Dec 18 20:02:47 CST 2019
In test_WSAEnumNetworkEvents(), a test's condition is always false
as the preceding "if" requires the opposite condition.
The test already passes. Enable it.
Signed-off-by: Damjan Jovanovic <damjan.jov at gmail.com>
---
dlls/ws2_32/tests/sock.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
-------------- next part --------------
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index cd97aae4bb..60c5dfc63f 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -3048,9 +3048,8 @@ static void test_WSAEnumNetworkEvents(void)
"Test[%d]: WSAEnumNetworkEvents failed\n", i);
if (i >= 1 && j == 0) /* FD_WRITE is SET on first try for UDP and connected TCP */
{
- todo_wine_if (i == 0) /* Remove when fixed */
- ok (net_events.lNetworkEvents == FD_WRITE, "Test[%d]: expected 2, got %d\n",
- i, net_events.lNetworkEvents);
+ ok (net_events.lNetworkEvents == FD_WRITE, "Test[%d]: expected 2, got %d\n",
+ i, net_events.lNetworkEvents);
}
else
{
More information about the wine-devel
mailing list