ws2_32/tests: Fix a couple of wrong traces

Bruno Jesus 00cpxxx at gmail.com
Wed May 13 20:03:53 CDT 2015


-------------- next part --------------
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-patches mailing list