]> Cypherpunks repositories - gostls13.git/commitdiff
net: fix darwin/amd64 build
authorDavid Crawshaw <crawshaw@golang.org>
Wed, 4 Mar 2015 22:29:44 +0000 (17:29 -0500)
committerDavid Crawshaw <crawshaw@golang.org>
Wed, 4 Mar 2015 22:56:23 +0000 (22:56 +0000)
Accidental semantics change in 4c6364a87d4a.

Change-Id: I0bbfc441662d79af4dbac6f9fc4e3a485adfb924
Reviewed-on: https://go-review.googlesource.com/6831
Reviewed-by: Minux Ma <minux@golang.org>
src/net/server_test.go

index e0768e67cf7e56ae616899da4d0463c012d7a71f..c29468fda49e6f4f65beb4b39f06bf77baf40aaf 100644 (file)
@@ -22,8 +22,10 @@ func skipServerTest(net, unixsotype, addr string, ipv6, ipv4map, linuxOnly bool)
                        return true
                }
        case "darwin":
-               if runtime.GOARCH == "arm" && net == unixsotype {
-                       return true
+               if net == unixsotype {
+                       if runtime.GOARCH == "arm" || linuxOnly {
+                               return true
+                       }
                }
        default:
                if net == unixsotype && linuxOnly {