Skip to content

Commit

Permalink
test,openbsd: use RETURN_SKIP in UDP IPv6 tests
Browse files Browse the repository at this point in the history
IPv6-IPv4 dual stack is not supported on OpenBSD.

Upstreamed from the OpenBSD Ports Collection.

PR-URL: libuv#1797
Reviewed-By: Aaron Bieber <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Santiago Gimeno <[email protected]>
  • Loading branch information
ararslan authored and santigimeno committed Apr 17, 2018
1 parent 48b8c11 commit 992a13d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test-udp-ipv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ TEST_IMPL(udp_dual_stack) {
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__)
if (!can_ipv6_ipv4_dual())
RETURN_SKIP("IPv6-IPv4 dual stack not supported");
#elif defined(__OpenBSD__)
RETURN_SKIP("IPv6-IPv4 dual stack not supported");
#endif

do_test(ipv6_recv_ok, 0);
Expand Down

0 comments on commit 992a13d

Please sign in to comment.