Bruno Jesus : ws2_32/tests: Fix a couple of wrong traces.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu May 14 06:22:36 CDT 2015
Module: wine
Branch: master
Commit: 3c16babcce417b4d699f541e4b05a308afb5e871
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3c16babcce417b4d699f541e4b05a308afb5e871
Author: Bruno Jesus <00cpxxx at gmail.com>
Date: Wed May 13 22:03:53 2015 -0300
ws2_32/tests: Fix a couple of wrong traces.
---
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 d67a47d..6d328e6 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -3819,7 +3819,7 @@ static void test_select(void)
FD_SET_ALL(fdRead);
SetLastError(0xdeadbeef);
ret = select(0, &readfds, NULL, &exceptfds, &select_timeout);
- ok(ret == SOCKET_ERROR, "expected 1, got %d\n", ret);
+ ok(ret == SOCKET_ERROR, "expected -1, got %d\n", ret);
todo_wine
ok(GetLastError() == WSAENOTSOCK, "expected 10038, got %d\n", GetLastError());
/* descriptor sets are unchanged */
@@ -3847,7 +3847,7 @@ todo_wine
SetLastError(0xdeadbeef);
ret = select(0, NULL, NULL, &exceptfds, &select_timeout);
todo_wine
- ok(ret == SOCKET_ERROR, "expected 1, got %d\n", ret);
+ ok(ret == SOCKET_ERROR, "expected -1, got %d\n", ret);
todo_wine
ok(GetLastError() == WSAENOTSOCK, "expected 10038, got %d\n", GetLastError());
WaitForSingleObject (thread_handle, 1000);
More information about the wine-cvs
mailing list