mirror of https://github.com/golang/go.git
net: disable IPv6 multicast tests unless external IPv6 connection is present
R=rsc CC=golang-dev https://golang.org/cl/6398052
This commit is contained in:
parent
9de61e7c8c
commit
4e7f765b12
|
|
@ -59,7 +59,7 @@ func TestMulticastListener(t *testing.T) {
|
|||
}
|
||||
|
||||
for _, tt := range multicastListenerTests {
|
||||
if tt.ipv6 && (!supportsIPv6 || os.Getuid() != 0) {
|
||||
if tt.ipv6 && (!*testIPv6 || !supportsIPv6 || os.Getuid() != 0) {
|
||||
continue
|
||||
}
|
||||
ifi, err := availMulticastInterface(t, tt.flags)
|
||||
|
|
|
|||
Loading…
Reference in New Issue