[WS2_32_WINETEST] Patch ws2_32:sock wine test to run on ReactOS (#5609)

Disable ReactOS specific tests which are not implemented yet.
ROSTESTS-385

- Bypass part of test that uses MEM_WRITE_WATCH.
- Bypass three tests that are unimplemented: 1) WSPAcceptEx, 2) WSPConnectEx, and 3) WSPDisconnectEx
This commit is contained in:
Doug Lyons 2024-01-18 05:11:25 -06:00 committed by GitHub
parent 73ba03add1
commit 619ff7c429
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7010,6 +7010,15 @@ static void test_write_watch(void)
base = VirtualAlloc( 0, size, MEM_RESERVE | MEM_COMMIT | MEM_WRITE_WATCH, PAGE_READWRITE );
ok( base != NULL, "VirtualAlloc failed %u\n", GetLastError() );
#ifdef __REACTOS__
if (!base)
{
skip("VirtualAlloc(MEM_WRITE_WATCH) is not supported yet on ReactOS\n");
skip("Skipping tests due to hang. See ROSTESTS-385\n");
return;
}
#endif
memset( base, 0, size );
count = 64;
ret = pGetWriteWatch( WRITE_WATCH_FLAG_RESET, base, size, results, &count, &pagesize );
@ -11620,9 +11629,22 @@ START_TEST( sock )
test_GetAddrInfoW();
test_GetAddrInfoExW();
test_getaddrinfo();
#ifdef __REACTOS__
if (!winetest_interactive)
{
skip("WSPAcceptEx(), WSPConnectEx() and WSPDisconnectEx() are UNIMPLEMENTED on ReactOS\n");
skip("Skipping tests due to hang. See ROSTESTS-385\n");
}
else
{
#endif
test_AcceptEx();
test_ConnectEx();
test_DisconnectEx();
#ifdef __REACTOS__
}
#endif
test_sioRoutingInterfaceQuery();
test_sioAddressListChange();