Commit db2ace1
test: assume priv ports start at 1024 if it can't be changed
An update to test/parallel/test-cluster-bind-privileged-port.js
checks the lowest privileged port to ensure 42 is privileged
This only works on kernels > 4.1. On older kernels, this is
locked at 1024 so the check is not needed.
Fixes: #45838
PR-URL: #46536
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent fb1ac98 commit db2ace1Copy full SHA for db2ace1
File tree
Expand file treeCollapse file tree
1 file changed
+8
-3
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+8
-3
lines changedOpen diff view settings
Collapse file
test/parallel/test-cluster-bind-privileged-port.js
Copy file name to clipboardExpand all lines: test/parallel/test-cluster-bind-privileged-port.js+8-3Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
27 | 27 | |
28 | 28 | |
29 | 29 | |
30 | | - |
31 | | - |
32 | | - |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
33 | 38 | |
34 | 39 | |
35 | 40 | |
|
0 commit comments