diff options
author | Sakthipriyan Vairamani <thechargingvolcano@gmail.com> | 2015-08-02 19:36:43 +0530 |
---|---|---|
committer | Sakthipriyan Vairamani <thechargingvolcano@gmail.com> | 2015-08-03 21:32:48 +0530 |
commit | 80a1cf742599ef52235171e2e32f615b6b611007 (patch) | |
tree | c532b446b32f143ecc9eb31915ecf80a28c73181 /test/parallel/test-cluster-http-pipe.js | |
parent | 9bac1dbae90050624ef091d54f014ac4b3718a9c (diff) | |
download | android-node-v8-80a1cf742599ef52235171e2e32f615b6b611007.tar.gz android-node-v8-80a1cf742599ef52235171e2e32f615b6b611007.tar.bz2 android-node-v8-80a1cf742599ef52235171e2e32f615b6b611007.zip |
test: fix messages and use return to skip tests
This is a followup of https://github.com/nodejs/io.js/pull/2109.
The tests which didn't make it in #2109, are included in this patch.
The skip messages are supposed to follow the format
1..0 # Skipped: [Actual reason why the test is skipped]
and the tests should be skipped with the return statement.
PR-URL: https://github.com/nodejs/io.js/pull/2290
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Diffstat (limited to 'test/parallel/test-cluster-http-pipe.js')
-rw-r--r-- | test/parallel/test-cluster-http-pipe.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/parallel/test-cluster-http-pipe.js b/test/parallel/test-cluster-http-pipe.js index 2a968f5645..4c6dee347b 100644 --- a/test/parallel/test-cluster-http-pipe.js +++ b/test/parallel/test-cluster-http-pipe.js @@ -5,9 +5,10 @@ const assert = require('assert'); const cluster = require('cluster'); const http = require('http'); -// It is not possible to send pipe handles over the IPC pipe on Windows. if (common.isWindows) { - process.exit(0); + console.log('1..0 # Skipped: It is not possible to send pipe handles over ' + + 'the IPC pipe on Windows'); + return; } if (cluster.isMaster) { |