aboutsummaryrefslogtreecommitdiff
path: root/src/net/interface_test.go
diff options
context:
space:
mode:
authorMikio Hara <mikioh.mikioh@gmail.com>2016-04-23 22:36:41 +0900
committerMikio Hara <mikioh.mikioh@gmail.com>2016-05-15 06:24:02 +0000
commitb4bf0663fa3334d053981f222eed5015a0a1b8df (patch)
tree754990091bce9b2a866b01f4c4c5b2a1d8bfd32b /src/net/interface_test.go
parent0bc14f57ec7e5518af711a64103ca2ac72f19a6e (diff)
downloadgo-b4bf0663fa3334d053981f222eed5015a0a1b8df.tar.xz
net: golang.org/x/net/route plumbing
This change makes use of new routing message APIs for BSD variants to support FreeBSD 11 and newer versions of other BSDs. Fixes #7849. Fixes #14724. Change-Id: I56c7886d6622cdeddd7cc29c8a8062dcc06216d5 Reviewed-on: https://go-review.googlesource.com/22451 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/net/interface_test.go')
-rw-r--r--src/net/interface_test.go21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/net/interface_test.go b/src/net/interface_test.go
index 2603311d24..4c695b902a 100644
--- a/src/net/interface_test.go
+++ b/src/net/interface_test.go
@@ -6,7 +6,6 @@ package net
import (
"fmt"
- "internal/testenv"
"reflect"
"runtime"
"testing"
@@ -50,11 +49,6 @@ func ipv6LinkLocalUnicastAddr(ifi *Interface) string {
}
func TestInterfaces(t *testing.T) {
- if runtime.GOOS == "freebsd" && runtime.GOARCH == "arm" {
- // 100% flaky on FreeBSD 11-CURRENT and above.
- testenv.SkipFlaky(t, 7849)
- }
-
ift, err := Interfaces()
if err != nil {
t.Fatal(err)
@@ -79,11 +73,6 @@ func TestInterfaces(t *testing.T) {
}
func TestInterfaceAddrs(t *testing.T) {
- if runtime.GOOS == "freebsd" && runtime.GOARCH == "arm" {
- // 100% flaky on FreeBSD 11-CURRENT and above.
- testenv.SkipFlaky(t, 7849)
- }
-
ift, err := Interfaces()
if err != nil {
t.Fatal(err)
@@ -103,11 +92,6 @@ func TestInterfaceAddrs(t *testing.T) {
}
func TestInterfaceUnicastAddrs(t *testing.T) {
- if runtime.GOOS == "freebsd" && runtime.GOARCH == "arm" {
- // 100% flaky on FreeBSD 11-CURRENT and above.
- testenv.SkipFlaky(t, 7849)
- }
-
ift, err := Interfaces()
if err != nil {
t.Fatal(err)
@@ -135,11 +119,6 @@ func TestInterfaceUnicastAddrs(t *testing.T) {
}
func TestInterfaceMulticastAddrs(t *testing.T) {
- if runtime.GOOS == "freebsd" && runtime.GOARCH == "arm" {
- // 100% flaky on FreeBSD 11-CURRENT and above.
- testenv.SkipFlaky(t, 7849)
- }
-
ift, err := Interfaces()
if err != nil {
t.Fatal(err)