test: apply Linux workaround to Linux only
authorRich Trott <rtrott@gmail.com>
Sun, 28 Feb 2016 06:18:22 +0000 (22:18 -0800)
committerMyles Borins <mborins@us.ibm.com>
Mon, 21 Mar 2016 20:06:59 +0000 (13:06 -0700)
commitba9ad2662c66761df5032572365c4a76368ce681
tree843578b3c167c3c85c69d9ac5988eec805427f96
parent4aa2c03d317529af33f493fbce47a7db2cbee01f
test: apply Linux workaround to Linux only

Do not try Ubuntu/SUSE/Debian-specific hostnames for IPv6 localhost
unless we are on Linux.

Fixes: https://github.com/nodejs/node/issues/4546
PR-URL: https://github.com/nodejs/node/pull/5471
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Ben Noorhduis <info@bnoordhuis.nl>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
test/common.js