Commit d2d6287
test: skip test that use --tls-v1.x flags
Currently, configuring --without-ssl will cause the following test to
fail:
=== release test-https-agent-additional-options ===
Path: parallel/test-https-agent-additional-options
out/Release/node: bad option: --tls-v1.1
Command: out/Release/node --tls-v1.1
/node/test/parallel/test-https-agent-additional-options.js
=== release test-https-agent-session-eviction ===
Path: parallel/test-https-agent-session-eviction
out/Release/node: bad option: --tls-v1.0
Command: out/Release/node --tls-v1.0
/node/test/parallel/test-https-agent-session-eviction.js
This commit adds a check for the --tls-v.x flags and skips them if node
was built without crypto support.
PR-URL: #24376
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Rod Vagg <rod@vagg.org>1 parent be14283 commit d2d6287Copy full SHA for d2d6287
File tree
Expand file treeCollapse file tree
2 files changed
+20
-10
lines changedOpen diff view settings
Filter options
- test/testpy
- tools
Expand file treeCollapse file tree
2 files changed
+20
-10
lines changedOpen diff view settings
Collapse file
+11-7Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
61 | 61 | |
62 | 62 | |
63 | 63 | |
64 | | - |
| 64 | + |
65 | 65 | |
66 | 66 | |
67 | 67 | |
| ||
71 | 71 | |
72 | 72 | |
73 | 73 | |
74 | | - |
75 | | - |
76 | | - |
77 | | - |
78 | | - |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
79 | 83 | |
80 | | - |
| 84 | + |
81 | 85 | |
82 | 86 | |
83 | 87 | |
|
Collapse file
+9-3Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
907 | 907 | |
908 | 908 | |
909 | 909 | |
| 910 | + |
910 | 911 | |
911 | 912 | |
912 | 913 | |
| ||
1632 | 1633 | |
1633 | 1634 | |
1634 | 1635 | |
1635 | | - |
1636 | | - |
1637 | | - |
| 1636 | + |
| 1637 | + |
| 1638 | + |
| 1639 | + |
| 1640 | + |
| 1641 | + |
| 1642 | + |
| 1643 | + |
1638 | 1644 | |
1639 | 1645 | |
1640 | 1646 | |
|
0 commit comments