From 0d965c14e9932226aa9446c01707790c73284bd4 Mon Sep 17 00:00:00 2001 From: Bruno Jesus <00cpxxx@gmail.com> Date: Thu, 9 Jan 2014 00:32:12 -0200 Subject: [PATCH] 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 86a829e866a..f8dc5a5c09c 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; }