[WS2_32_WINETEST] Disable test_address_list_query() as the ioctl is not supported...
authorAmine Khaldi <amine.khaldi@reactos.org>
Sun, 18 Sep 2016 16:20:20 +0000 (16:20 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 18 Sep 2016 16:20:20 +0000 (16:20 +0000)
svn path=/trunk/; revision=72728

rostests/winetests/ws2_32/sock.c

index f6bd7f9..6211cb6 100644 (file)
@@ -9287,6 +9287,8 @@ static void test_completion_port(void)
     CloseHandle(previous_port);
 }
 
     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;
 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);
 }
     HeapFree(GetProcessHeap(), 0, address_list);
     closesocket(s);
 }
+#endif /* CORE-12000 */
 
 static DWORD WINAPI inet_ntoa_thread_proc(void *param)
 {
 
 static DWORD WINAPI inet_ntoa_thread_proc(void *param)
 {
@@ -9807,7 +9810,9 @@ START_TEST( sock )
     test_WSAAsyncGetServByName();
 
     test_completion_port();
     test_WSAAsyncGetServByName();
 
     test_completion_port();
+#if CORE_12000_IS_FIXED /* FIXME: CORE-12000 */
     test_address_list_query();
     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();
 
     /* this is an io heavy test, do it at the end so the kernel doesn't start dropping packets */
     test_send();