test: fix messages and use return to skip tests
authorSakthipriyan Vairamani <thechargingvolcano@gmail.com>
Sun, 2 Aug 2015 14:06:43 +0000 (19:36 +0530)
committerSakthipriyan Vairamani <thechargingvolcano@gmail.com>
Mon, 3 Aug 2015 16:02:48 +0000 (21:32 +0530)
commit80a1cf742599ef52235171e2e32f615b6b611007
treec532b446b32f143ecc9eb31915ecf80a28c73181
parent9bac1dbae90050624ef091d54f014ac4b3718a9c
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>
16 files changed:
test/disabled/tls_server.js
test/parallel/test-child-process-fork-dgram.js
test/parallel/test-cluster-bind-privileged-port.js
test/parallel/test-cluster-dgram-1.js
test/parallel/test-cluster-dgram-2.js
test/parallel/test-cluster-http-pipe.js
test/parallel/test-dh-padding.js
test/parallel/test-domain-crypto.js
test/parallel/test-process-remove-all-signal-listeners.js
test/parallel/test-signal-handler.js
test/parallel/test-tls-npn-server-client.js
test/parallel/test-tls-ocsp-callback.js
test/parallel/test-tls-sni-option.js
test/parallel/test-tls-sni-server-client.js
test/pummel/test-crypto-dh.js
test/sequential/test-regress-GH-3542.js