From dc52ede2f3099bd79ee98a59917c4428e8aa70af Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sun, 18 Sep 2016 16:20:20 +0000 Subject: [PATCH] [WS2_32_WINETEST] Disable test_address_list_query() as the ioctl is not supported yet by winsock helper dll (wshtcpip.dll) and the test is assuming there is info returned which is wrong and crashes. By Peter Hater. CORE-10440 CORE-12000 svn path=/trunk/; revision=72728 --- rostests/winetests/ws2_32/sock.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rostests/winetests/ws2_32/sock.c b/rostests/winetests/ws2_32/sock.c index f6bd7f9632a..6211cb64d14 100644 --- a/rostests/winetests/ws2_32/sock.c +++ b/rostests/winetests/ws2_32/sock.c @@ -9287,6 +9287,8 @@ static void test_completion_port(void) CloseHandle(previous_port); } +#if CORE_12000_IS_FIXED /* CORE-12000 */ +/* WSHIoctl is not supported by wshtcpip.dll and crashes. Test should be fixed also! */ static void test_address_list_query(void) { SOCKET_ADDRESS_LIST *address_list; @@ -9349,6 +9351,7 @@ static void test_address_list_query(void) HeapFree(GetProcessHeap(), 0, address_list); closesocket(s); } +#endif /* CORE-12000 */ static DWORD WINAPI inet_ntoa_thread_proc(void *param) { @@ -9807,7 +9810,9 @@ START_TEST( sock ) test_WSAAsyncGetServByName(); test_completion_port(); +#if CORE_12000_IS_FIXED /* FIXME: CORE-12000 */ test_address_list_query(); +#endif /* this is an io heavy test, do it at the end so the kernel doesn't start dropping packets */ test_send();