From 725fcf55873915e4660ae8f92056be7f834592e6 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 21 Jul 2011 21:22:56 +0200 Subject: [PATCH] test: add test-net-pingpong to `make test-uv` list --- Makefile | 1 + test/simple/test-net-pingpong.js | 11 ++--------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 95cb3ce..6faae92 100644 --- a/Makefile +++ b/Makefile @@ -144,6 +144,7 @@ UVTEST += simple/test-http-write-empty-string UVTEST += simple/test-http-wget UVTEST += simple/test-mkdir-rmdir UVTEST += simple/test-net-binary +UVTEST += simple/test-net-pingpong UVTEST += simple/test-net-can-reset-timeout UVTEST += simple/test-net-connect-buffer UVTEST += simple/test-net-connect-timeout diff --git a/test/simple/test-net-pingpong.js b/test/simple/test-net-pingpong.js index 98136df..d90073f 100644 --- a/test/simple/test-net-pingpong.js +++ b/test/simple/test-net-pingpong.js @@ -129,19 +129,12 @@ function pingPongTest(port, host) { } /* All are run at once, so run on different ports */ -if (!process.useUV) { - // these tests will not run yet with net_uv TODO: remove when net_uv supports dns - pingPongTest('/tmp/pingpong.sock'); -} +pingPongTest(common.PIPE); pingPongTest(20988); pingPongTest(20989, 'localhost'); pingPongTest(20997, '::1'); process.addListener('exit', function () { - if (!process.useUV) { - assert.equal(4, tests_run); - } else { - assert.equal(3, tests_run); - } + assert.equal(4, tests_run); console.log('done'); }); -- 2.7.4