1
0
mirror of https://github.com/golang/go synced 2024-09-25 03:10:12 -06:00

net: add plan9 to TestDialTimeout

=== RUN TestDialTimeout
     --- PASS: TestDialTimeout (0.21 seconds)

R=golang-codereviews, bradfitz, 0intro
CC=golang-codereviews, rsc
https://golang.org/cl/49710050
This commit is contained in:
Jeff Sickel 2014-01-11 18:58:03 +01:00 committed by David du Colombier
parent 8aaca37383
commit 830bb3797e

View File

@ -58,7 +58,7 @@ func TestDialTimeout(t *testing.T) {
errc <- err
}()
}
case "darwin", "windows":
case "darwin", "plan9", "windows":
// At least OS X 10.7 seems to accept any number of
// connections, ignoring listen's backlog, so resort
// to connecting to a hopefully-dead 127/8 address.