Commit a1d7954
test: avoid trying to call sysctl directly
sysctl is often installed in /usr/sbin, which is not conveniently
accessible to non-root. Secondly, the setting can just be read
directly from the standard location and does not need to be
parsed in any special fashion.
PR-URL: #46366
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent a64d7f4 commit a1d7954Copy full SHA for a1d7954
File tree
Expand file treeCollapse file tree
1 file changed
+2
-3
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+2
-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+2-3Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
24 | 24 | |
25 | 25 | |
26 | 26 | |
27 | | - |
| 27 | + |
28 | 28 | |
29 | 29 | |
30 | | - |
31 | | - |
| 30 | + |
32 | 31 | |
33 | 32 | |
34 | 33 | |
|
0 commit comments