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: https://github.com/nodejs/node/issues/10646
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test