Skip to content

Conversation

@daxian-dbw
Copy link
Member

The test use of a module from two runspaces set /tmp/<guid-number> in $env:PSMODULEPATH. However, the file /tmp/powershell somehow exists in the Travis CI build machine. So when the test create a powershell object by [powershell]::create(), the module path calculation logic incorrectly believed that /tmp/<guid-number> is a PSHome module path derived from parent process and thus removed it.

The detection of a derived PSHome module path could be smarter, it's tracked in #1744
This PR will resolve the failure from the test side, so that our build can be fixed.

@mirichmo
Copy link
Member

LGTM

@mirichmo mirichmo merged commit 9ab60d6 into master Aug 13, 2016
@mirichmo mirichmo deleted the dongbo/fix-build branch August 13, 2016 01:36
JamesWTruher referenced this pull request in JamesWTruher/PowerShell Aug 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Maintainers-Build specific to affecting the build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants