From 5df3b5994134fe208c569a96dde7fc5f4d367ff6 Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Wed, 12 Jul 2023 13:21:21 +0200 Subject: [PATCH] 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 Reviewed-by: Cherry Mui Reviewed-by: Heschi Kreinick Auto-Submit: Heschi Kreinick TryBot-Result: Gopher Robot --- ssh/agent/client_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ssh/agent/client_test.go b/ssh/agent/client_test.go index 8ffaca7491..c27eaa969f 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 {