Mike Kaplinskiy : ws2_32/tests: fix failure on win98/me.

Alexandre Julliard julliard at winehq.org
Mon Oct 5 09:54:27 CDT 2009


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

Author: Mike Kaplinskiy <mike.kaplinskiy at gmail.com>
Date:   Mon Oct  5 01:51:58 2009 -0400

ws2_32/tests: fix failure on win98/me.

---

 dlls/ws2_32/tests/sock.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 57147c9..37cd740 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -2039,7 +2039,8 @@ static void test_accept(void)
     }
 
     WaitForSingleObject(thread_handle, 1000);
-    ok(thread_params.ReadKilled, "closesocket did not wakeup accept\n");
+    ok(thread_params.ReadKilled || broken(!thread_params.ReadKilled) /* Win98/ME, after accept */,
+       "closesocket did not wakeup accept\n");
 
 done:
     if (accepted != INVALID_SOCKET)




More information about the wine-cvs mailing list