From f2d58c4e1860b61062c0f9dfe0d5e0395fb1cdeb Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Fri, 8 Nov 2024 16:02:55 +0200 Subject: [PATCH] tests: posix: headers: net: Mark unicast/multicast hops supported Both the IPV6_UNICAST_HOPS and IPV6_MULTICAST_HOPS are supported so add tests for them. Signed-off-by: Jukka Rissanen --- tests/posix/headers/src/netinet_in_h.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/posix/headers/src/netinet_in_h.c b/tests/posix/headers/src/netinet_in_h.c index 1e015a41f4c..6dba608521e 100644 --- a/tests/posix/headers/src/netinet_in_h.c +++ b/tests/posix/headers/src/netinet_in_h.c @@ -65,10 +65,10 @@ ZTEST(posix_headers, test_netinet_in_h) zassert_equal(IPV6_ADD_MEMBERSHIP, IPV6_JOIN_GROUP); zassert_equal(IPV6_DROP_MEMBERSHIP, IPV6_LEAVE_GROUP); - /* zassert_not_equal(-1, IPV6_MULTICAST_HOPS); */ /* not implemented */ + zassert_not_equal(-1, IPV6_MULTICAST_HOPS); /* zassert_not_equal(-1, IPV6_MULTICAST_IF); */ /* not implemented */ /* zassert_not_equal(-1, IPV6_MULTICAST_LOOP); */ /* not implemented */ - /* zassert_not_equal(-1, IPV6_UNICAST_HOPS); */ /* not implemented */ + zassert_not_equal(-1, IPV6_UNICAST_HOPS); zassert_not_equal(-1, IPV6_V6ONLY); /* IN6_IS_ADDR_UNSPECIFIED(&any6); */ /* not implemented */