From 80a1cf742599ef52235171e2e32f615b6b611007 Mon Sep 17 00:00:00 2001 From: Sakthipriyan Vairamani Date: Sun, 2 Aug 2015 19:36:43 +0530 Subject: test: fix messages and use return to skip tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Johan Bergström --- test/parallel/test-tls-sni-server-client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/parallel/test-tls-sni-server-client.js') diff --git a/test/parallel/test-tls-sni-server-client.js b/test/parallel/test-tls-sni-server-client.js index 5a1894cd6e..bad5e10878 100644 --- a/test/parallel/test-tls-sni-server-client.js +++ b/test/parallel/test-tls-sni-server-client.js @@ -2,7 +2,7 @@ if (!process.features.tls_sni) { console.log('1..0 # Skipped: node compiled without OpenSSL or ' + 'with old OpenSSL version.'); - process.exit(0); + return; } var common = require('../common'), -- cgit v1.2.1