]> Cypherpunks repositories - gostls13.git/commitdiff
net: fix TestInterfaceMulticastAddrs for AIX
authorClément Chigot <clement.chigot@atos.net>
Tue, 23 Oct 2018 13:55:57 +0000 (15:55 +0200)
committerIan Lance Taylor <iant@golang.org>
Tue, 23 Oct 2018 14:48:21 +0000 (14:48 +0000)
This commit disables checkMulticastStats for AIX operating system.

Change-Id: If8d0fb609a0dcf75b7bb5c3871cfb6fad76a0a92
Reviewed-on: https://go-review.googlesource.com/c/144102
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/interface_test.go

index 5d183c56384dfc91e2f8ed2d1fb19c68d6135e5a..c6b514abcec7987309d758d8be901455c74ffd03 100644 (file)
@@ -278,7 +278,7 @@ func checkUnicastStats(ifStats *ifStats, uniStats *routeStats) error {
 
 func checkMulticastStats(ifStats *ifStats, uniStats, multiStats *routeStats) error {
        switch runtime.GOOS {
-       case "dragonfly", "nacl", "netbsd", "openbsd", "plan9", "solaris":
+       case "aix", "dragonfly", "nacl", "netbsd", "openbsd", "plan9", "solaris":
        default:
                // Test the existence of connected multicast route
                // clones for IPv4. Unlike IPv6, IPv4 multicast