mirror of
https://github.com/golang/go
synced 2024-11-26 08:27:56 -07:00
net: enable multicast listener tests on solaris/illumos
It seems everything is in place for these tests to pass on solaris and illumos, so enable them. Fixes #7399 Change-Id: If6defb651ef9c5059c1aeccbc4fc13a12a86b682 Reviewed-on: https://go-review.googlesource.com/c/go/+/346149 Trust: Tobias Klauser <tobias.klauser@gmail.com> Trust: Damien Neil <dneil@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Damien Neil <dneil@google.com>
This commit is contained in:
parent
7622e41c84
commit
d384ebde60
@ -535,8 +535,6 @@ func TestIPv4MulticastListener(t *testing.T) {
|
||||
switch runtime.GOOS {
|
||||
case "android", "plan9":
|
||||
t.Skipf("not supported on %s", runtime.GOOS)
|
||||
case "solaris", "illumos":
|
||||
t.Skipf("not supported on solaris or illumos, see golang.org/issue/7399")
|
||||
}
|
||||
if !supportsIPv4() {
|
||||
t.Skip("IPv4 is not supported")
|
||||
@ -610,8 +608,6 @@ func TestIPv6MulticastListener(t *testing.T) {
|
||||
switch runtime.GOOS {
|
||||
case "plan9":
|
||||
t.Skipf("not supported on %s", runtime.GOOS)
|
||||
case "solaris", "illumos":
|
||||
t.Skipf("not supported on solaris or illumos, see issue 7399")
|
||||
}
|
||||
if !supportsIPv6() {
|
||||
t.Skip("IPv6 is not supported")
|
||||
|
@ -10,31 +10,25 @@ package net
|
||||
import "syscall"
|
||||
|
||||
func setIPv4MulticastInterface(fd *netFD, ifi *Interface) error {
|
||||
// See golang.org/issue/7399.
|
||||
return syscall.ENOPROTOOPT
|
||||
}
|
||||
|
||||
func setIPv4MulticastLoopback(fd *netFD, v bool) error {
|
||||
// See golang.org/issue/7399.
|
||||
return syscall.ENOPROTOOPT
|
||||
}
|
||||
|
||||
func joinIPv4Group(fd *netFD, ifi *Interface, ip IP) error {
|
||||
// See golang.org/issue/7399.
|
||||
return syscall.ENOPROTOOPT
|
||||
}
|
||||
|
||||
func setIPv6MulticastInterface(fd *netFD, ifi *Interface) error {
|
||||
// See golang.org/issue/7399.
|
||||
return syscall.ENOPROTOOPT
|
||||
}
|
||||
|
||||
func setIPv6MulticastLoopback(fd *netFD, v bool) error {
|
||||
// See golang.org/issue/7399.
|
||||
return syscall.ENOPROTOOPT
|
||||
}
|
||||
|
||||
func joinIPv6Group(fd *netFD, ifi *Interface, ip IP) error {
|
||||
// See golang.org/issue/7399.
|
||||
return syscall.ENOPROTOOPT
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user