Commit 1329eb4
test: allow testing uid and gid separately
This commit lets the uid and gid options of spawn() to be
tested independently of one another based on the user's uid
and gid.
Fixes: #10646
PR-URL: #10647
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>1 parent 4aa32c1 commit 1329eb4Copy full SHA for 1329eb4
File tree
Expand file treeCollapse file tree
1 file changed
+10
-12
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+10
-12
lines changedOpen diff view settings
Collapse file
test/parallel/test-child-process-uid-gid.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-uid-gid.js+10-12Lines changed: 10 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2 | 2 | |
3 | 3 | |
4 | 4 | |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | 5 | |
12 | 6 | |
13 | | - |
14 | | - |
15 | | - |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
16 | 12 | |
17 | | - |
18 | | - |
19 | | - |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
0 commit comments