]> Cypherpunks repositories - gostls13.git/commitdiff
net: reduce dial tests on netbsd
authorJoel Sing <jsing@google.com>
Sun, 20 May 2012 14:38:14 +0000 (00:38 +1000)
committerJoel Sing <jsing@google.com>
Sun, 20 May 2012 14:38:14 +0000 (00:38 +1000)
Add NetBSD to the list of operating systems that have a reduced set
of dial tests.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6208083

src/pkg/net/dial_test.go

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