Browse Source

Disable ipv6 test on solaris

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
776b099d75
  1. 7
      test/pummel/test-tcp-pingpong.js

7
test/pummel/test-tcp-pingpong.js

@ -82,8 +82,11 @@ function pingPongTest (port, host, on_complete) {
/* All are run at once, so run on different ports */
pingPongTest(PORT, "localhost");
pingPongTest(PORT+1, null);
pingPongTest(PORT+2, "::1");
// This IPv6 isn't working on Solaris
var solaris = /sunos/i.test(process.platform);
if (!solaris) pingPongTest(PORT+2, "::1");
process.addListener("exit", function () {
assert.equal(3, tests_run);
assert.equal(solaris ? 2 : 3, tests_run);
});

Loading…
Cancel
Save