[PATCH] ws2_32/tests: Mark the IPX-not-supported error code test as todo

Alex Henrie alexhenrie24 at gmail.com
Mon Sep 3 23:28:39 CDT 2018


Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
Wine returns WSAEPROTONOSUPPORT in this case, but all versions of
Windows since XP at least return WSAEAFNOSUPPORT.

This fixes the test failure on my Arch laptop, and should fix the test
failures on Gentoo.
---
 dlls/ws2_32/tests/sock.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index b32d1c053d..c058869059 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -2773,6 +2773,7 @@ static void test_WSASocket(void)
     if (sock == INVALID_SOCKET)
     {
         err = WSAGetLastError();
+todo_wine
         ok(err == WSAEAFNOSUPPORT || broken(err == WSAEPROTONOSUPPORT), "Expected 10047, received %d\n", err);
         skip("IPX is not supported\n");
     }
-- 
2.18.0




More information about the wine-devel mailing list