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 <bradfitz@golang.org>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user