ws2_32/tests: Mark the out of bound results we don't want to support as broken
André Hentschel
nerv at dawncrow.de
Tue Nov 19 17:10:15 CST 2013
---
dlls/ws2_32/tests/sock.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index ac6ee10..20a6bdf 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -507,7 +507,7 @@ static VOID WINAPI oob_server ( server_params *par )
/* check atmark state */
ioctlsocket ( mem->sock[0].s, SIOCATMARK, &atmark );
- ok ( atmark == 1, "oob_server (%x): unexpectedly at the OOB mark: %i\n", id, atmark );
+ ok ( atmark == 1 || broken(!atmark), "oob_server (%x): unexpectedly at the OOB mark: %i\n", id, atmark );
/* Receive normal data and check atmark state */
n_recvd = do_synchronous_recv ( mem->sock[0].s, mem->sock[0].buf, n_expected, par->buflen );
@@ -517,7 +517,7 @@ static VOID WINAPI oob_server ( server_params *par )
ok ( pos == -1, "simple_server (%x): test pattern error: %d\n", id, pos);
ioctlsocket ( mem->sock[0].s, SIOCATMARK, &atmark );
- ok ( atmark == 1, "oob_server (%x): unexpectedly at the OOB mark: %i\n", id, atmark );
+ ok ( atmark == 1 || broken(!atmark), "oob_server (%x): unexpectedly at the OOB mark: %i\n", id, atmark );
/* Receive a part of the out-of-band data and check atmark state */
n_recvd = do_synchronous_recv ( mem->sock[0].s, mem->sock[0].buf, 8, par->buflen );
--
1.8.1.2
More information about the wine-patches
mailing list