From 5a6e40e042292b81de1d40719a995dc058f7cbf1 Mon Sep 17 00:00:00 2001 From: Heschi Kreinick Date: Fri, 3 Feb 2017 14:54:22 -0500 Subject: [PATCH] ssh/agent: fix another test to not require IPv4. Missed a copy/paste of netPipe in change 36110. Change-Id: I1a850dd9273d71fadc0519cf4cb2a2de6ecae4c2 Reviewed-on: https://go-review.googlesource.com/36259 Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot Reviewed-by: Han-Wen Nienhuys --- ssh/agent/client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh/agent/client_test.go b/ssh/agent/client_test.go index e33d471..a13a650 100644 --- a/ssh/agent/client_test.go +++ b/ssh/agent/client_test.go @@ -180,7 +180,7 @@ func TestCert(t *testing.T) { // therefore is buffered (net.Pipe deadlocks if both sides start with // a write.) func netPipe() (net.Conn, net.Conn, error) { - listener, err := net.Listen("tcp", "127.0.0.1:0") + listener, err := net.Listen("tcp", ":0") if err != nil { return nil, nil, err }