Skip to content

Commit

Permalink
test: skip test_lookup_ipv6_hint on FreeBSD
Browse files Browse the repository at this point in the history
FreeBSD does not support the V4MAPPED flag so skip the test that uses
it.
  • Loading branch information
Trott committed Sep 7, 2015
1 parent b3c4cec commit 46ac743
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/internet/test-dns.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 46ac743

Please sign in to comment.