test: conditionally skip udp_ipv6_multicast_join6
Skip udp_ipv6_multicast_join6 test if no ipv6 multicast route is defined on ff02::1 Reefs: https://github.com/joyent/libuv/issues/1401#issuecomment-11570984 PR-URL: https://github.com/libuv/libuv/pull/411 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
This commit is contained in:
parent
d377435b5e
commit
ca3ec90c6c
@ -124,6 +124,11 @@ TEST_IMPL(udp_multicast_join6) {
|
||||
#else
|
||||
r = uv_udp_set_membership(&client, "ff02::1", NULL, UV_JOIN_GROUP);
|
||||
#endif
|
||||
if (r == UV_ENODEV) {
|
||||
MAKE_VALGRIND_HAPPY();
|
||||
RETURN_SKIP("No ipv6 multicast route");
|
||||
}
|
||||
|
||||
ASSERT(r == 0);
|
||||
|
||||
r = uv_udp_recv_start(&client, alloc_cb, cl_recv_cb);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user