aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Crawshaw <crawshaw@golang.org>2015-03-04 17:29:44 -0500
committerDavid Crawshaw <crawshaw@golang.org>2015-03-04 22:56:23 +0000
commit5e49bfec92e04ca9eda715c8d61690ba5b47b9bf (patch)
treeb8bc257414004309a4f4914f69b8869f4d4e07e5 /src
parent9b73ecc32719a2a6e3c733d87aefd9ef5a0bf804 (diff)
downloadgo-5e49bfec92e04ca9eda715c8d61690ba5b47b9bf.tar.xz
net: fix darwin/amd64 build
Accidental semantics change in 4c6364a87d4a. Change-Id: I0bbfc441662d79af4dbac6f9fc4e3a485adfb924 Reviewed-on: https://go-review.googlesource.com/6831 Reviewed-by: Minux Ma <minux@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/net/server_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/server_test.go b/src/net/server_test.go
index e0768e67cf..c29468fda4 100644
--- a/src/net/server_test.go
+++ b/src/net/server_test.go
@@ -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 {