1
0
mirror of https://github.com/golang/go synced 2024-11-18 07:24:45 -07:00

net: skip unixpacket tests on netbsd/386

Updates #22927
Updates #20852

Change-Id: I3ac0f8d38375d58a77781ab0e4f78ca57b258de0
Reviewed-on: https://go-review.googlesource.com/80756
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Brad Fitzpatrick 2017-11-29 19:22:27 +00:00
parent 9ec0c7abe1
commit 04494f3843

View File

@ -44,6 +44,11 @@ func testableNetwork(network string) bool {
switch runtime.GOOS {
case "android", "darwin", "nacl", "plan9", "windows":
return false
case "netbsd":
// It passes on amd64 at least. 386 fails (Issue 22927). arm is unknown.
if runtime.GOARCH == "386" {
return false
}
}
}
switch ss[0] {