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

Alexandre Julliard julliard at winehq.org
Thu Jan 9 12:52:49 CST 2014


Module: wine
Branch: master
Commit: 0d965c14e9932226aa9446c01707790c73284bd4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0d965c14e9932226aa9446c01707790c73284bd4

Author: Bruno Jesus <00cpxxx at gmail.com>
Date:   Thu Jan  9 00:32:12 2014 -0200

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

---

 dlls/ws2_32/tests/sock.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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-cvs mailing list