ws2_32/tests: Mark WinNT result as broken.

This commit is contained in:
Bruno Jesus 2013-09-19 09:17:05 -03:00 committed by Alexandre Julliard
parent bd610a66c4
commit 5dcf368e1b
1 changed files with 4 additions and 2 deletions

View File

@ -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 );