Commit 8373f729 authored by Mikio Hara's avatar Mikio Hara

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
parent d526e5e7
...@@ -117,7 +117,7 @@ func TestIPv6MulticastListener(t *testing.T) { ...@@ -117,7 +117,7 @@ func TestIPv6MulticastListener(t *testing.T) {
// routing stuff for finding out an appropriate // routing stuff for finding out an appropriate
// nexthop containing both network and link layer // nexthop containing both network and link layer
// adjacencies. // adjacencies.
if ifi == nil && !*testExternal { if ifi == nil && (!*testExternal || !*testIPv6) {
continue continue
} }
for _, tt := range ipv6MulticastListenerTests { for _, tt := range ipv6MulticastListenerTests {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment