ws2_32/tests: Add broken for a WSALookupServiceBegin test in NT

Bruno Jesus 00cpxxx at gmail.com
Wed Jan 8 20:32:12 CST 2014


http://test.winehq.org/data/81c42ce710bdc9385391310ecb3f22e2a153ac5f/nt4_fg-winnt4-6sp/ws2_32:sock.html
-------------- next part --------------
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 86a829e..f8dc5a5 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -7381,7 +7381,8 @@ todo_wine
     ok(ret == SOCKET_ERROR, "WSALookupServiceBeginW should have failed\n");
 todo_wine
     ok(error == WSAEINVAL
-       || broken(error == ERROR_INVALID_PARAMETER) /* <= XP */
+       || broken(error == ERROR_INVALID_PARAMETER) /* == XP */
+       || broken(error == WSAEFAULT) /* == NT */
        || broken(error == WSASERVICE_NOT_FOUND) /* == 2000 */,
        "expected 10022, got %d\n", error);
 
@@ -7399,7 +7400,7 @@ todo_wine
     error = WSAGetLastError();
     if(ret && error == ERROR_INVALID_PARAMETER)
     {
-        win_skip("the current WSALookupServiceBeginW test is not supported in win 2000\n");
+        win_skip("the current WSALookupServiceBeginW test is not supported in win <= 2000\n");
         return;
     }
 


More information about the wine-patches mailing list