From: Mikio Hara Date: Wed, 13 Mar 2013 00:00:01 +0000 (+0800) Subject: net: require of both -external and -ipv6 flags to run IPv6 multicast tests X-Git-Tag: go1.1rc2~534 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8373f729fdc63e6d85f23318e1e62c11c5a8bca5;p=gostls13.git net: require of both -external and -ipv6 flags to run IPv6 multicast tests On BSD variants, the tests need surely constructed IPv6 routing table. R=golang-dev, dave CC=golang-dev https://golang.org/cl/7776043 --- diff --git a/src/pkg/net/multicast_test.go b/src/pkg/net/multicast_test.go index 7d2e9c0e34..1eb6a420dc 100644 --- a/src/pkg/net/multicast_test.go +++ b/src/pkg/net/multicast_test.go @@ -117,7 +117,7 @@ func TestIPv6MulticastListener(t *testing.T) { // routing stuff for finding out an appropriate // nexthop containing both network and link layer // adjacencies. - if ifi == nil && !*testExternal { + if ifi == nil && (!*testExternal || !*testIPv6) { continue } for _, tt := range ipv6MulticastListenerTests {