Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f874256

Browse filesBrowse files
sotayamashitaMylesBorins
authored andcommitted
test: skip when openssl CLI doesn't exist
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>
1 parent 9162316 commit f874256
Copy full SHA for f874256

File tree

Expand file treeCollapse file tree

4 files changed

+24
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

4 files changed

+24
-0
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-tls-dhe.js
+6Lines changed: 6 additions & 0 deletions
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;
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-tls-ecdh-disable.js
+6Lines changed: 6 additions & 0 deletions
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;
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-tls-ecdh.js
+6Lines changed: 6 additions & 0 deletions
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

Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-tls-securepair-server.js
+6Lines changed: 6 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.