From 860fcf23f40912872b0564b963243c3d83350849 Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Sat, 20 Feb 2010 02:17:54 +0100 Subject: [PATCH] skipping TLS test if node was not compiled with TLS --- test/mjsunit/test-tcp-tls.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/mjsunit/test-tcp-tls.js b/test/mjsunit/test-tcp-tls.js index 060ca3349b..b823780ebc 100644 --- a/test/mjsunit/test-tcp-tls.js +++ b/test/mjsunit/test-tcp-tls.js @@ -117,6 +117,6 @@ if (have_tls) { assert.equal(2, tests_run); }); } else { - puts("Not compiled with TLS support."); - process.exit(1); + puts("Not compiled with TLS support -- skipping test"); + process.exit(0); }