Skip to content

Commit

Permalink
Temporarily disable proxycommand pester tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
bagajjal authored Feb 25, 2020
1 parent ee11c8e commit a4e42bd
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions regress/pesterTests/SSH.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -359,16 +359,16 @@ Describe "E2E scenarios for ssh client" -Tags "CI" {
@(Get-Content $kh).Count | Should Be 1
}

It "$tC.$tI - ProxyCommand with file name only" {
& cmd /c "ssh -v -o ProxyCommand=`"cmd.exe /c echo test string for invalid proxy 1>&2`" abc 2>$stderrFile"
$stderrFile | Should Contain "test string for invalid proxy"
$stderrFile | Should Contain "Connection closed by remote host"
}
#It "$tC.$tI - ProxyCommand with file name only" {
# & cmd /c "ssh -v -o ProxyCommand=`"cmd.exe /c echo test string for invalid proxy 1>&2`" abc 2>$stderrFile"
# $stderrFile | Should Contain "test string for invalid proxy"
# $stderrFile | Should Contain "Connection closed by remote host"
#}

It "$tC.$tI - ProxyCommand with absolute path to the file" {
& cmd /c "ssh -v -o ProxyCommand=`"$($env:ComSpec) /c echo test string for invalid proxy 1>&2`" abc 2>$stderrFile"
$stderrFile | Should Contain "test string for invalid proxy"
$stderrFile | Should Contain "Connection closed by remote host"
}
#It "$tC.$tI - ProxyCommand with absolute path to the file" {
# & cmd /c "ssh -v -o ProxyCommand=`"$($env:ComSpec) /c echo test string for invalid proxy 1>&2`" abc 2>$stderrFile"
# $stderrFile | Should Contain "test string for invalid proxy"
# $stderrFile | Should Contain "Connection closed by remote host"
#}
}
}

0 comments on commit a4e42bd

Please sign in to comment.