Skip to content

Commit 5df3b59

Browse files
drakkangopherbot
authored andcommitted
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>
1 parent 2e82bdd commit 5df3b59

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ssh/agent/client_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ func startOpenSSHAgent(t *testing.T) (client ExtendedAgent, socket string, clean
2929
// types supported vary by platform.
3030
t.Skip("skipping test due to -short")
3131
}
32+
if runtime.GOOS == "windows" {
33+
t.Skip("skipping on windows, we don't support connecting to the ssh-agent via a named pipe")
34+
}
3235

3336
bin, err := exec.LookPath("ssh-agent")
3437
if err != nil {

0 commit comments

Comments
 (0)