Alexandre Julliard : ws2_32/tests: Fix a test failure on WinME.
Alexandre Julliard
julliard at winehq.org
Mon Jan 26 10:13:34 CST 2009
Module: wine
Branch: master
Commit: a8a2ca72bd95cc05bb217ddc995eec94f07bb42a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a8a2ca72bd95cc05bb217ddc995eec94f07bb42a
Author: Alexandre Julliard <julliard at winehq.org>
Date: Sun Jan 25 17:30:14 2009 +0100
ws2_32/tests: Fix a test failure on WinME.
---
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 0b5cb88..22455ef 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -852,7 +852,8 @@ static void Exit (void)
ok ( ret == 0, "WSACleanup failed ret = %d GetLastError is %d\n", ret, err);
ret = WSACleanup();
err = WSAGetLastError();
- ok ( ret == SOCKET_ERROR && err == WSANOTINITIALISED,
+ ok ( (ret == SOCKET_ERROR && err == WSANOTINITIALISED) ||
+ broken(ret == 0), /* WinME */
"WSACleanup returned %d GetLastError is %d\n", ret, err);
}
More information about the wine-cvs
mailing list