Skip to content

test: robust handling of env for npm-test-install - #6797

Merged
MylesBorins merged 1 commit into
nodejs:masterfrom
MylesBorins:robust-npm-test-env
May 18, 2016
Merged

test: robust handling of env for npm-test-install#6797
MylesBorins merged 1 commit into
nodejs:masterfrom
MylesBorins:robust-npm-test-env

Conversation

@MylesBorins

Copy link
Copy Markdown
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
Copy Markdown
ContributorAuthor

/cc @mhdawson

@MylesBorins

Copy link
Copy Markdown
ContributorAuthor

@mhdawson

Copy link
Copy Markdown
Member

Validated that it resolves issue from #6736. LGTM

@jasnell

Copy link
Copy Markdown
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 <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@MylesBorins
MylesBorins 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 <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
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 <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
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 <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@MylesBorins
MylesBorins 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 <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
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 <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
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