]> Cypherpunks repositories - gostls13.git/commitdiff
net: enable multicast listener tests on solaris/illumos
authorTobias Klauser <tklauser@distanz.ch>
Mon, 30 Aug 2021 14:00:53 +0000 (16:00 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Tue, 31 Aug 2021 04:26:31 +0000 (04:26 +0000)
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>
src/net/listen_test.go
src/net/sockoptip_stub.go

index b1dce29ac209a91e45436583ef3ffa2788e39378..50355de1ac0c046d3ca24e12cb7fb2b39e1fcf04 100644 (file)
@@ -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")
index 4175922cec5f6f7d013626c3a28a928d979a2d7f..92349d88ba71452631d0a186fdd5955a6a75887e 100644 (file)
@@ -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
 }