Temporarily disable proxycommand pester tests.

Track using https://github.com/PowerShell/Win32-OpenSSH/issues/1559
This commit is contained in:
bagajjal 2020-02-24 22:42:04 -08:00 committed by GitHub
parent ee11c8e15e
commit a4e42bd33a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 10 deletions

View File

@ -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"
#}
}
}