1
0
mirror of https://github.com/golang/go synced 2024-11-19 08:44:39 -07:00

net: disable failing interface tests on dragonfly

(Issue #10041.)

Change-Id: Ia894ab60ac6b09926c684f99aacca79275cbced4
Reviewed-on: https://go-review.googlesource.com/6365
Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
Russ Cox 2015-02-28 19:17:27 -05:00
parent 894024f478
commit 4734464a14

View File

@ -48,6 +48,9 @@ func ipv6LinkLocalUnicastAddr(ifi *Interface) string {
}
func TestInterfaces(t *testing.T) {
if runtime.GOOS == "dragonfly" {
t.Skip("fail on dragonfly - issue 10041")
}
ift, err := Interfaces()
if err != nil {
t.Fatal(err)
@ -105,6 +108,9 @@ func TestInterfaces(t *testing.T) {
}
func TestInterfaceAddrs(t *testing.T) {
if runtime.GOOS == "dragonfly" {
t.Skip("fail on dragonfly - issue 10041")
}
ift, err := Interfaces()
if err != nil {
t.Fatal(err)