You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Invoke-Item.Tests.ps1 should handle finding multiple ping executables #5220
message : Expected: {Invoke-Item : Cannot find path '/usr/bin/ping /bin/ping' because it does not
exist.
At line:1 char:1
+ Invoke-Item '/usr/bin/ping /bin/ping'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (/usr/bin/ping /bin/ping:String)
[Invoke-Item], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.Invok
eItemCommand
} to match the expression {usage: ping}
stack-trace : at line: 77 in /TEST/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility/Invoke-Item.Tests.ps1
77: Get-Content $redirectFile -Raw | Should Match "usage: ping"
The test should handle finding multiple copies of ping
Activity
Invoke-Item.Tests.ps1 handles finding multiple ping executables. (#6120)
kalgiz commentedon Feb 14, 2018
Fixed in #6120
Keep uptodate (#1)
Invoke-Item.Tests.ps1 handles finding multiple ping executables. (Pow…