Bruno Jesus : ws2_32/tests: Mark WinNT result as broken.

Alexandre Julliard julliard at winehq.org
Thu Sep 19 17:21:05 CDT 2013


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

Author: Bruno Jesus <00cpxxx at gmail.com>
Date:   Thu Sep 19 09:17:05 2013 -0300

ws2_32/tests: Mark WinNT result as broken.

---

 dlls/ws2_32/tests/protocol.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/ws2_32/tests/protocol.c b/dlls/ws2_32/tests/protocol.c
index 1b9a429..9c6d80d 100644
--- a/dlls/ws2_32/tests/protocol.c
+++ b/dlls/ws2_32/tests/protocol.c
@@ -100,7 +100,8 @@ static void test_WSAEnumProtocolsA(void)
     ret = WSAEnumProtocolsA( ptest, NULL, &len );
     ok( ret == SOCKET_ERROR, "WSAEnumProtocolsA() succeeded unexpectedly\n");
     error = WSAGetLastError();
-    ok( error == WSAENOBUFS, "Expected 10055, received %d\n", error);
+    ok( error == WSAENOBUFS || broken(error == WSAEFAULT) /* NT4 */,
+       "Expected 10055, received %d\n", error);
 
     buffer = HeapAlloc( GetProcessHeap(), 0, len );
 
@@ -166,7 +167,8 @@ static void test_WSAEnumProtocolsW(void)
     ret = WSAEnumProtocolsW( ptest, NULL, &len );
     ok( ret == SOCKET_ERROR, "WSAEnumProtocolsW() succeeded unexpectedly\n");
     error = WSAGetLastError();
-    ok( error == WSAENOBUFS, "Expected 10055, received %d\n", error);
+    ok( error == WSAENOBUFS || broken(error == WSAEFAULT) /* NT4 */,
+       "Expected 10055, received %d\n", error);
 
     buffer = HeapAlloc( GetProcessHeap(), 0, len );
 




More information about the wine-cvs mailing list