Commit 1905f8e
test: remove common.isOSXMojave
common.isOSXMojave was added because it was believed that there was a
bug in macOS Mojave that allowed unprivileged users to bind to
privileged ports. As it turns out, that was a feature not a bug. It is
likely to be in all future versions of macOS. Remove isOSXMojave and
skip appropriate tests based on isOSX.
Refs: https://news.ycombinator.com/item?id=18302380
PR-URL: #25658
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>1 parent c93e5e1 commit 1905f8eCopy full SHA for 1905f8e
File tree
Expand file treeCollapse file tree
3 files changed
+4
-7
lines changedOpen diff view settings
Filter options
- test
- common
- parallel
Expand file treeCollapse file tree
3 files changed
+4
-7
lines changedOpen diff view settings
Collapse file
-3Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
99 | 99 | |
100 | 100 | |
101 | 101 | |
102 | | - |
103 | | - |
104 | 102 | |
105 | 103 | |
106 | 104 | |
| ||
750 | 748 | |
751 | 749 | |
752 | 750 | |
753 | | - |
754 | 751 | |
755 | 752 | |
756 | 753 | |
|
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-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
23 | 23 | |
24 | 24 | |
25 | 25 | |
26 | | - |
27 | | - |
| 26 | + |
| 27 | + |
28 | 28 | |
29 | 29 | |
30 | 30 | |
|
Collapse file
test/parallel/test-cluster-shared-handle-bind-privileged-port.js
Copy file name to clipboardExpand all lines: test/parallel/test-cluster-shared-handle-bind-privileged-port.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
23 | 23 | |
24 | 24 | |
25 | 25 | |
26 | | - |
27 | | - |
| 26 | + |
| 27 | + |
28 | 28 | |
29 | 29 | |
30 | 30 | |
|
0 commit comments