Skip to content

Conversation

@MylesBorins
Copy link
Contributor

Checklist
  • tests and code linting passes
  • a test and/or benchmark is included
  • the commit message follows commit guidelines
Affected core subsystem(s)

test

Description of change

Currently we are overwriting the entire env object of the child-process
spawned in npm-test-install. This commit alternatively clones the
process.env object and modifies it with the neccessary changes before
passing it the the spawned process.

Fixes: #6736

@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label May 17, 2016
@MylesBorinsMylesBorins added the npm Issues and PRs related to the npm client dependency or the npm registry. label May 17, 2016
@MylesBorins
Copy link
ContributorAuthor

/cc @mhdawson

@MylesBorins
Copy link
ContributorAuthor

@mhdawson
Copy link
Member

Validated that it resolves issue from #6736. LGTM

@jasnell
Copy link
Member

LGTM

Currently we are overwriting the entire env object of the child-process spawned in `npm-test-install`. This commit alternatively clones the `process.env` object and modifies it with the neccessary changes before passing it the the spawned process. Fixes: nodejs#6736 PR-URL: nodejs#6797 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: James M Snell <[email protected]>
@MylesBorinsMylesBorins merged commit 56ae651 into nodejs:masterMay 18, 2016
Fishrock123 pushed a commit that referenced this pull request May 23, 2016
Currently we are overwriting the entire env object of the child-process spawned in `npm-test-install`. This commit alternatively clones the `process.env` object and modifies it with the neccessary changes before passing it the the spawned process. Fixes: #6736 PR-URL: #6797 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: James M Snell <[email protected]>
rvagg pushed a commit that referenced this pull request Jun 2, 2016
Currently we are overwriting the entire env object of the child-process spawned in `npm-test-install`. This commit alternatively clones the `process.env` object and modifies it with the neccessary changes before passing it the the spawned process. Fixes: #6736 PR-URL: #6797 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Jun 2, 2016
Currently we are overwriting the entire env object of the child-process spawned in `npm-test-install`. This commit alternatively clones the `process.env` object and modifies it with the neccessary changes before passing it the the spawned process. Fixes: #6736 PR-URL: #6797 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: James M Snell <[email protected]>
@MylesBorinsMylesBorins deleted the robust-npm-test-env branch June 13, 2016 18:06
@MylesBorinsMylesBorins mentioned this pull request Jun 24, 2016
MylesBorins pushed a commit that referenced this pull request Jun 24, 2016
Currently we are overwriting the entire env object of the child-process spawned in `npm-test-install`. This commit alternatively clones the `process.env` object and modifies it with the neccessary changes before passing it the the spawned process. Fixes: #6736 PR-URL: #6797 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Jun 24, 2016
Currently we are overwriting the entire env object of the child-process spawned in `npm-test-install`. This commit alternatively clones the `process.env` object and modifies it with the neccessary changes before passing it the the spawned process. Fixes: #6736 PR-URL: #6797 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: James M Snell <[email protected]>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

npmIssues and PRs related to the npm client dependency or the npm registry.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

npm-test-install

4 participants

@MylesBorins@mhdawson@jasnell@nodejs-github-bot