diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go index ff35c6cd4066fa..8d7b6f88077952 100644 --- a/src/cmd/dist/test.go +++ b/src/cmd/dist/test.go @@ -418,9 +418,12 @@ func (t *tester) registerTests() { return t.cgoTestSO("misc/cgo/testso") }, }) - if t.goos == "darwin" { + switch t.goos { + case "darwin": fmt.Println("Skipping misc/cgo/testsovar test. See issue 10360 for details.") - } else { + case "netbsd": + fmt.Println("Skipping misc/cgo/testsovar test. See issue 11654 for details.") + default: t.tests = append(t.tests, distTest{ name: "testsovar", heading: "../misc/cgo/testsovar",