ssh/agent: fix another test to not require IPv4.
Missed a copy/paste of netPipe in change 36110.
Run-TryBot: Brad Fitzpatrick
TryBot-Result: Gobot Gobot
@@ -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
}
