summaryrefslogtreecommitdiff
path: root/test/disabled
diff options
context:
space:
mode:
authorSakthipriyan Vairamani <thechargingvolcano@gmail.com>2015-08-02 19:36:43 +0530
committerSakthipriyan Vairamani <thechargingvolcano@gmail.com>2015-08-03 21:32:48 +0530
commit80a1cf742599ef52235171e2e32f615b6b611007 (patch)
treec532b446b32f143ecc9eb31915ecf80a28c73181 /test/disabled
parent9bac1dbae90050624ef091d54f014ac4b3718a9c (diff)
downloadnode-new-80a1cf742599ef52235171e2e32f615b6b611007.tar.gz
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/disabled')
-rw-r--r--test/disabled/tls_server.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/disabled/tls_server.js b/test/disabled/tls_server.js
index b3f43b564d..cc381a61c3 100644
--- a/test/disabled/tls_server.js
+++ b/test/disabled/tls_server.js
@@ -13,8 +13,8 @@ var certPem = fs.readFileSync(common.fixturesDir + '/cert.pem');
try {
var credentials = crypto.createCredentials({key: keyPem, cert: certPem});
} catch (e) {
- console.log('Not compiled with OPENSSL support.');
- process.exit();
+ console.log('1..0 # Skipped: node compiled without OpenSSL.');
+ return;
}
var i = 0;
var server = net.createServer(function(connection) {