Skip to content

Commit

Permalink
test: skip test-dns-ipv6.js if ipv6 is unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
Junliang Yan committed Oct 20, 2015
1 parent 0fc0902 commit ec690d7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/internet/test-dns-ipv6.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ var expected = 0,
running = false,
queue = [];

if (!common.hasIPv6) {
console.log('1..0 # Skipped: this test, no IPv6 support');
return;
}

function TEST(f) {
function next() {
var f = queue.shift();
Expand Down

0 comments on commit ec690d7

Please sign in to comment.