8000 Fix regressions that cause implicit remoting tests to fail by daxian-dbw · Pull Request #4326 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content

Fix regressions that cause implicit remoting tests to fail #4326

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.

Sign up for GitHub

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

Merged
merged 1 commit into from
Jul 24, 2017

Conversation

daxian-dbw
Copy link
Member

Three implicit remoting tests failed in daily test runs. They reflect regressions introduced in #4261, and this PR is to fix them.

The original test for those 3 are checking -ne $null | Should Be $true:

## BadVerb-Variable should be a function, not an alias (1)
((Get-Item Function:\BadVerb-Variable -ErrorAction SilentlyContinue) -ne $null) | Should Be $true
...
## BadVerb-Variable should be a function, not an alias (1)
((Get-Item Function:\BadVerb-Variable -ErrorAction SilentlyContinue) -ne $null) | Should Be $true
...
## BadVerb-Variable should be an alias, not a function (2)
((Get-Item Alias:\BadVerb-Variable -ErrorAction SilentlyContinue) -ne $null) | Should Be $true

So we should change them to | Should Not Be $null.

@daxian-dbw
Copy link
Member Author

The failure in AppVeyor will be resolved by #4323

Copy link
Collaborator
@iSazonov iSazonov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@daxian-dbw daxian-dbw merged commit 905e697 into PowerShell:master Jul 24, 2017
@daxian-dbw daxian-dbw deleted the test branch July 24, 2017 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0