Browse Source

test: skip when openssl CLI doesn't exist

PR-URL: https://github.com/nodejs/node/pull/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>
v6
Sota Yamashita 8 years ago
committed by Sam Roberts
parent
commit
5ffb7d72bb
  1. 6
      test/parallel/test-tls-dhe.js
  2. 6
      test/parallel/test-tls-ecdh-disable.js
  3. 6
      test/parallel/test-tls-ecdh.js
  4. 6
      test/parallel/test-tls-securepair-server.js

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

@ -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;

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

@ -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;

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

@ -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');

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

@ -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;

Loading…
Cancel
Save