Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: fix incorrect assumptions on the user uid and gid #19554

Conversation

garwahl
Copy link
Contributor

@garwahl garwahl commented Mar 23, 2018

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

Fixes: #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

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

Fixes: nodejs#19371
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Mar 23, 2018
@trivikr trivikr added the child_process Issues and PRs related to the child_process subsystem. label Mar 24, 2018
@gireeshpunathil
Copy link
Member

@gireeshpunathil
Copy link
Member

ping @nodejs/collaborators for a couple of pair of eyes more!

@gireeshpunathil gireeshpunathil added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 29, 2018
gireeshpunathil pushed a commit that referenced this pull request Mar 29, 2018
Add a invalidArgTypeErrorCount variable to adjust the number of expected
errors if the uid and gid options cannot be properly validated.

Fixes: #19371
PR-URL: #19554
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
@gireeshpunathil
Copy link
Member

Landed in 42c7402 , thanks for the contribution!

@targos targos added backport-requested-v9.x and removed author ready PRs that have at least one approval, no pending requests for changes, and a CI started. labels Apr 2, 2018
@targos
Copy link
Member

targos commented Apr 2, 2018

Should this be backported to v9.x-staging? If yes please follow the guide and raise a backport PR, if not let me know or add the dont-land-on label.

@gireeshpunathil
Copy link
Member

the changes pertinent to this PR is not relevant for older release lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
child_process Issues and PRs related to the child_process subsystem. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test: Incorrect assumptions on the user uid and gid
7 participants