aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan José <soyjuanarbol@gmail.com>2025-05-08 11:39:26 -0500
committerGitHub <noreply@github.com>2025-05-08 12:39:26 -0400
commite4ed92aad71ba48e8c92acb85b62cee5739c2371 (patch)
tree09e9294778d40e9de891dff45301a7c00906f575
parenta1692f76466acb0da3c38c4f82fc11ddefb7a778 (diff)
downloadlibuv-e4ed92aad71ba48e8c92acb85b62cee5739c2371.tar.gz
libuv-e4ed92aad71ba48e8c92acb85b62cee5739c2371.zip
test: skip `udp_multicast_join` if not system-wide available (#4779)
Fixes: https://github.com/libuv/libuv/issues/4778 Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
-rw-r--r--test/test-udp-multicast-join.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-udp-multicast-join.c b/test/test-udp-multicast-join.c
index 58b05556..f024e2e0 100644
--- a/test/test-udp-multicast-join.c
+++ b/test/test-udp-multicast-join.c
@@ -168,6 +168,8 @@ TEST_IMPL(udp_multicast_join) {
RETURN_SKIP("No multicast support.");
if (r == UV_ENOEXEC)
RETURN_SKIP("No multicast support (likely a firewall issue).");
+ if (r == UV_ENOSYS)
+ RETURN_SKIP("No multicast support (likely a platform issue).");
ASSERT_OK(r);
#if defined(__ANDROID__)
/* It returns an ENOSYS error */