Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Describe 'native commands lifecycle' -tags 'Feature' {
Describe 'native commands with pipeline' -tags 'Feature' {

BeforeAll {
$powershell = Join-Path -Path $PsHome -ChildPath "powershell"
Expand All @@ -23,6 +23,17 @@ Describe 'native commands lifecycle' -tags 'Feature' {
$ps.Stop()
$rs.ResetRunspaceState()
}

It "native | native | native should work fine" {

if ($IsWindows) {
$result = @(ping.exe | findstr.exe count | findstr.exe ping)
$result[0] | Should Match "Usage: ping"
} else {
$result = @(ps aux | grep powershell | grep -v grep)
$result[0] | Should Match "powershell"
}
}
}

Describe "Native Command Processor" -tags "Feature" {
Expand Down