diff options
| author | Nicola Murino <nicola.murino@gmail.com> | 2023-07-12 13:21:21 +0200 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-07-13 13:29:36 +0000 |
| commit | 5df3b5994134fe208c569a96dde7fc5f4d367ff6 (patch) | |
| tree | 94360d7e092aabde6c22989d654fc24712ac8617 /ssh/agent | |
| parent | 2e82bdd1719d8f50d18bbb60acc52accc71330b1 (diff) | |
| download | go-x-crypto-5df3b5994134fe208c569a96dde7fc5f4d367ff6.tar.xz | |
ssh: disable client agent tests on Windows
ssh-agent is implemented as a Windows service and exposed on a
named pipe. We don't currently support it.
See golang/go#60981
Change-Id: Iebdc42db30b37a87ac0766231b16aff3f17b3f56
Reviewed-on: https://go-review.googlesource.com/c/crypto/+/509035
Run-TryBot: Heschi Kreinick <heschi@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Auto-Submit: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'ssh/agent')
| -rw-r--r-- | ssh/agent/client_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ssh/agent/client_test.go b/ssh/agent/client_test.go index 8ffaca7..c27eaa9 100644 --- a/ssh/agent/client_test.go +++ b/ssh/agent/client_test.go @@ -29,6 +29,9 @@ func startOpenSSHAgent(t *testing.T) (client ExtendedAgent, socket string, clean // types supported vary by platform. t.Skip("skipping test due to -short") } + if runtime.GOOS == "windows" { + t.Skip("skipping on windows, we don't support connecting to the ssh-agent via a named pipe") + } bin, err := exec.LookPath("ssh-agent") if err != nil { |
