From fcdb74e78f2621098ebc0376bbadffcf580ccfe4 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Thu, 30 Jul 2015 10:58:10 +0200 Subject: [PATCH] ssh: skip TestHandshakeBasic on Plan 9 Updates golang/go#7797. Change-Id: I7aa57f3fb812ecf644c8f8c065848938868e473b Reviewed-on: https://go-review.googlesource.com/12767 Reviewed-by: Brad Fitzpatrick --- ssh/handshake_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ssh/handshake_test.go b/ssh/handshake_test.go index 613c498..f690627 100644 --- a/ssh/handshake_test.go +++ b/ssh/handshake_test.go @@ -9,6 +9,7 @@ import ( "crypto/rand" "fmt" "net" + "runtime" "testing" ) @@ -75,6 +76,9 @@ func handshakePair(clientConf *ClientConfig, addr string) (client *handshakeTran } func TestHandshakeBasic(t *testing.T) { + if runtime.GOOS == "plan9" { + t.Skip("see golang.org/issue/7237") + } checker := &testChecker{} trC, trS, err := handshakePair(&ClientConfig{HostKeyCallback: checker.Check}, "addr") if err != nil {