Skip to content

Commit

Permalink
test: skip when openssl CLI doesn't exist
Browse files Browse the repository at this point in the history
Backport-PR-URL: #12173
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>
  • Loading branch information
sotayamashita authored and MylesBorins committed Apr 13, 2017
1 parent 533e565 commit 0695c09
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/parallel/test-tls-dhe.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ if (!common.hasCrypto) {
common.skip('missing crypto');
return;
}

if (!common.opensslCli) {
common.skip('missing openssl-cli');
return;
}

const tls = require('tls');

const spawn = require('child_process').spawn;
Expand Down
6 changes: 6 additions & 0 deletions test/parallel/test-tls-ecdh-disable.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ if (!common.hasCrypto) {
common.skip('missing crypto');
return;
}

if (!common.opensslCli) {
common.skip('missing openssl-cli');
return;
}

const tls = require('tls');

const exec = require('child_process').exec;
Expand Down
6 changes: 6 additions & 0 deletions test/parallel/test-tls-ecdh.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ if (!common.hasCrypto) {
common.skip('missing crypto');
return;
}

if (!common.opensslCli) {
common.skip('missing openssl-cli');
return;
}

const assert = require('assert');
const tls = require('tls');

Expand Down
6 changes: 6 additions & 0 deletions test/parallel/test-tls-securepair-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ if (!common.hasCrypto) {
common.skip('missing crypto');
return;
}

if (!common.opensslCli) {
common.skip('missing openssl-cli');
return;
}

const tls = require('tls');

const join = require('path').join;
Expand Down

0 comments on commit 0695c09

Please sign in to comment.