Skip to content

Commit 1085a46

Browse files
sotayamashitaitaloacasas
authored andcommittedFeb 14, 2017
test: skip when openssl CLI doesn't exist
PR-URL: #11095 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
1 parent 6f866ae commit 1085a46

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed
 

‎test/parallel/test-tls-dhe.js

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ if (!common.hasCrypto) {
66
common.skip('missing crypto');
77
return;
88
}
9+
10+
if (!common.opensslCli) {
11+
common.skip('missing openssl-cli');
12+
return;
13+
}
14+
915
const tls = require('tls');
1016

1117
const spawn = require('child_process').spawn;

‎test/parallel/test-tls-ecdh-disable.js

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ if (!common.hasCrypto) {
66
common.skip('missing crypto');
77
return;
88
}
9+
10+
if (!common.opensslCli) {
11+
common.skip('missing openssl-cli');
12+
return;
13+
}
14+
915
const tls = require('tls');
1016

1117
const exec = require('child_process').exec;

‎test/parallel/test-tls-ecdh.js

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ if (!common.hasCrypto) {
55
common.skip('missing crypto');
66
return;
77
}
8+
9+
if (!common.opensslCli) {
10+
common.skip('missing openssl-cli');
11+
return;
12+
}
13+
814
const assert = require('assert');
915
const tls = require('tls');
1016

‎test/parallel/test-tls-securepair-server.js

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ if (!common.hasCrypto) {
66
common.skip('missing crypto');
77
return;
88
}
9+
10+
if (!common.opensslCli) {
11+
common.skip('missing openssl-cli');
12+
return;
13+
}
14+
915
const tls = require('tls');
1016

1117
const join = require('path').join;

0 commit comments

Comments
 (0)
Please sign in to comment.