From 46ac743b0bbc27db6cfed735aec75813125b070c Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 6 Sep 2015 20:47:41 -0700 Subject: [PATCH] test: skip test_lookup_ipv6_hint on FreeBSD FreeBSD does not support the V4MAPPED flag so skip the test that uses it. --- test/internet/test-dns.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/internet/test-dns.js b/test/internet/test-dns.js index 796fd26c0a2e72..845b39dd1116a9 100644 --- a/test/internet/test-dns.js +++ b/test/internet/test-dns.js @@ -390,6 +390,15 @@ TEST(function test_lookup_ipv6_explicit_object(done) { TEST(function test_lookup_ipv6_hint(done) { + // FreeBSD does not support V4MAPPED flag. + if (process.platform === 'freebsd') { + console.log( + '1..0 # Skipped: test_lookup_ipv6_hint is disabled on FreeBSD.' + ); + done(); + return; + } + var req = dns.lookup('www.google.com', { family: 6, hints: dns.V4MAPPED