net: dragonfly support

Make the net package build and work on dragonfly.

R=bradfitz
CC=golang-dev
https://golang.org/cl/13173044
This commit is contained in:
Joel Sing 2013-08-24 02:18:22 +10:00
parent 6939061d47
commit fce0608561
34 changed files with 147 additions and 32 deletions

View file

@ -137,7 +137,7 @@ func TestSelfConnect(t *testing.T) {
n = 1000
}
switch runtime.GOOS {
case "darwin", "freebsd", "netbsd", "openbsd", "plan9", "windows":
case "darwin", "dragonfly", "freebsd", "netbsd", "openbsd", "plan9", "windows":
// Non-Linux systems take a long time to figure
// out that there is nothing listening on localhost.
n = 100