Do not fail if dns is only local on ipv6
Jérémy Lal
6 years ago
|
0 |
--- a/test/test-getnameinfo.c
|
|
1 |
+++ b/test/test-getnameinfo.c
|
|
2 |
@@ -84,6 +84,9 @@
|
|
3 |
TEST_IMPL(getnameinfo_basic_ip6) {
|
|
4 |
int r;
|
|
5 |
|
|
6 |
+ if (!can_ipv6())
|
|
7 |
+ RETURN_SKIP("IPv6 not supported");
|
|
8 |
+
|
|
9 |
r = uv_ip6_addr(address_ip6, port, &addr6);
|
|
10 |
ASSERT(r == 0);
|
|
11 |
|