mirror of
https://github.com/golang/net.git
synced 2026-04-01 02:47:08 +09:00
ipv6: OpenBSD does not appear to support multicast loopback
Skip the tests for it, as we already skip them on FreeBSD. Fixes golang/go#42064 Change-Id: I058f25309020367e686625033b4f25cb614c7f99 Reviewed-on: https://go-review.googlesource.com/c/net/+/366355 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
This commit is contained in:
@@ -20,6 +20,10 @@ func supportsIPv6MulticastDeliveryOnLoopback() (string, bool) {
|
||||
// kernels don't deliver link-local scoped multicast
|
||||
// packets correctly.
|
||||
return fmt.Sprintf("not supported on %s/%s", runtime.GOOS, runtime.GOARCH), false
|
||||
case "openbsd":
|
||||
// Multicast packets don't seem to be delivered locally.
|
||||
// Issue 42064.
|
||||
return fmt.Sprintf("not supported on %s/%s", runtime.GOOS, runtime.GOARCH), false
|
||||
default:
|
||||
return "", true
|
||||
}
|
||||
|
||||
@@ -28,11 +28,6 @@ var packetConnReadWriteMulticastUDPTests = []struct {
|
||||
}
|
||||
|
||||
func TestPacketConnReadWriteMulticastUDP(t *testing.T) {
|
||||
switch os.Getenv("GO_BUILDER_NAME") {
|
||||
case "openbsd-amd64-68", "openbsd-386-68", "openbsd-arm-jsing", "openbsd-arm64-jsing", "openbsd-mips64-jsing":
|
||||
t.Skip(`this test is currently failing on OpenBSD 6.8 builders with "raw-read udp6: i/o timeout" ` +
|
||||
`and needs investigation, see golang.org/issue/42064`)
|
||||
}
|
||||
switch runtime.GOOS {
|
||||
case "fuchsia", "hurd", "js", "nacl", "plan9", "windows":
|
||||
t.Skipf("not supported on %s", runtime.GOOS)
|
||||
|
||||
Reference in New Issue
Block a user