Mike Kaplinskiy : ws2_32/tests: fix test failures on wine and win98.
Alexandre Julliard
julliard at winehq.org
Mon May 17 09:39:27 CDT 2010
Module: wine
Branch: master
Commit: ebf20d6645c5ef2ce38ac8a721317fead0463272
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ebf20d6645c5ef2ce38ac8a721317fead0463272
Author: Mike Kaplinskiy <mike.kaplinskiy at gmail.com>
Date: Sat May 15 01:18:30 2010 -0400
ws2_32/tests: fix test failures on wine and win98.
---
dlls/ws2_32/tests/sock.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 4ac338c..882bf22 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -3279,7 +3279,7 @@ static void test_events(int useMessages)
ret = recv(src, buffer, 1, 0);
ok(ret == 1, "Failed to empty buffer: %d - %d\n", ret, GetLastError());
/* want it? it's here, but you can't have it */
- broken_seq[0] = read_close_seq; /* win9x */
+ broken_seq[0] = close_seq; /* win9x */
broken_seq[1] = NULL;
todo_wine ok_event_seq(src, hEvent, empty_seq, /* wine sends FD_CLOSE here */
broken_seq, 0);
@@ -4092,7 +4092,6 @@ START_TEST( sock )
test_dns();
test_gethostbyname_hack();
- test_send();
test_WSASendTo();
test_WSARecv();
@@ -4104,5 +4103,8 @@ START_TEST( sock )
test_AcceptEx();
+ /* this is a io heavy test, do it at the end so the kernel doesn't start dropping packets */
+ test_send();
+
Exit();
}
More information about the wine-cvs
mailing list