test: skip multicast join test on ENOEXEC

It happens due to the default firewall configuration on macOS >= 13.

Note: GH action runners have their firewall disabled, and yet, the test
fails all the same. Oh well...

Closes: https://github.com/libuv/libuv/issues/4263
This commit is contained in:
Saúl Ibarra Corretgé 2024-07-16 23:48:26 +02:00
parent 64f4502b9b
commit a3abfbcb08

View File

@ -160,6 +160,8 @@ TEST_IMPL(udp_multicast_join) {
r = uv_udp_set_membership(&server, MULTICAST_ADDR, NULL, UV_JOIN_GROUP);
if (r == UV_ENODEV)
RETURN_SKIP("No multicast support.");
if (r == UV_ENOEXEC)
RETURN_SKIP("No multicast support (likely a firewall issue).");
ASSERT_OK(r);
r = uv_udp_recv_start(&server, alloc_cb, cl_recv_cb);