Skip to content

test: fix incorrect assumptions on the user uid and gid

Add a invalidArgTypeErrorCount variable to adjust the number of expected errors if the uid and gid options cannot be properly validated.

Fixes: https://github.com/nodejs/node/issues/19371

Has been tested as working on Ubuntu 14.04 LTS. Requires testing still in Windows with container/non-container environment still.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading