From 776b099d7521df89a94ea8125576cf9b381b5246 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 2 Mar 2010 21:10:05 +0000 Subject: [PATCH] Disable ipv6 test on solaris --- test/pummel/test-tcp-pingpong.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/pummel/test-tcp-pingpong.js b/test/pummel/test-tcp-pingpong.js index 9fa231e..c90aa3b 100644 --- a/test/pummel/test-tcp-pingpong.js +++ b/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); }); -- 2.7.4