]> Cypherpunks repositories - gostls13.git/commitdiff
net: disable failing interface tests on dragonfly
authorRuss Cox <rsc@golang.org>
Sun, 1 Mar 2015 00:17:27 +0000 (19:17 -0500)
committerRuss Cox <rsc@golang.org>
Sun, 1 Mar 2015 00:19:32 +0000 (00:19 +0000)
(Issue #10041.)

Change-Id: Ia894ab60ac6b09926c684f99aacca79275cbced4
Reviewed-on: https://go-review.googlesource.com/6365
Reviewed-by: Russ Cox <rsc@golang.org>
src/net/interface_test.go

index 15c0cd7be4dc73b5954d81b31ab24f2886eed034..98d6734dc319dec3d55c569e6ec8b9b146b639f4 100644 (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)