Commit 5e49bfec authored by David Crawshaw's avatar David Crawshaw

net: fix darwin/amd64 build

Accidental semantics change in 4c6364a8.

Change-Id: I0bbfc441662d79af4dbac6f9fc4e3a485adfb924
Reviewed-on: https://go-review.googlesource.com/6831Reviewed-by: default avatarMinux Ma <minux@golang.org>
parent 9b73ecc3
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment