diff --git a/test/parallel/test-tls-no-sslv3.js b/test/parallel/test-tls-no-sslv3.js index 1acb1f93767404..4be58752e82bbb 100644 --- a/test/parallel/test-tls-no-sslv3.js +++ b/test/parallel/test-tls-no-sslv3.js @@ -38,7 +38,7 @@ server.listen(0, '127.0.0.1', function() { server.on('tlsClientError', (err) => errors.push(err)); process.on('exit', function() { - if (/unknown option -ssl3/.test(stderr)) { + if (/[Uu]nknown option:? -ssl3/.test(stderr)) { common.printSkipMessage('`openssl s_client -ssl3` not supported.'); } else { assert.strictEqual(errors.length, 1);