commit | a46af89e3819d5652c6b9ea0a7848fee56366996 | [log] [tgz] |
---|---|---|
author | Mikio Hara <mikioh.mikioh@gmail.com> | Thu Jun 06 17:12:18 2013 +0900 |
committer | Mikio Hara <mikioh.mikioh@gmail.com> | Thu Jun 06 17:12:18 2013 +0900 |
tree | bae84690695141567f5115d1d7482af0c5dc6a46 | |
parent | 5b599ab5ec703524862fef71c51a8486eb043537 [diff] [blame] |
go.net/ipv6: disable tests on non-ipv6 kernels R=dave, capnm9 CC=golang-dev https://golang.org/cl/10051046
diff --git a/ipv6/icmp_test.go b/ipv6/icmp_test.go index 9727829..a7833dd 100644 --- a/ipv6/icmp_test.go +++ b/ipv6/icmp_test.go
@@ -52,6 +52,9 @@ case "plan9", "windows": t.Skipf("not supported on %q", runtime.GOOS) } + if !supportsIPv6 { + t.Skip("ipv6 is not supported") + } if os.Getuid() != 0 { t.Skip("must be root") }