Commit 8724c44
test: add test for uid/gid setting in spawn
Remove a disabled test in favor of one that expects an error.
This validates (somewhat) that the underlying code is calling the
correct system call for setting UID and GID. Unlike the formerly
disabled test, it does not try to validate that the system UID/GID
setting works.
PR-URL: #7084
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 042e858 commit 8724c44Copy full SHA for 8724c44
File tree
Expand file treeCollapse file tree
2 files changed
+14
-60
lines changedOpen diff view settings
Filter options
- test
- disabled
- parallel
Expand file treeCollapse file tree
2 files changed
+14
-60
lines changedOpen diff view settings
Collapse file
test/disabled/test-child-process-uid-gid.js
Copy file name to clipboardExpand all lines: test/disabled/test-child-process-uid-gid.js-60Lines changed: 0 additions & 60 deletions
This file was deleted.
Collapse file
test/parallel/test-child-process-uid-gid.js
Copy file name to clipboard+14Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
0 commit comments