Commit e23f75b3 authored by Russ Cox's avatar Russ Cox

net: disable more ipv6 tests

R=agl, agl1
CC=golang-dev
https://golang.org/cl/153050
parent b4a8b353
......@@ -88,10 +88,12 @@ func doTest(t *testing.T, network, listenaddr, dialaddr string) {
func TestTCPServer(t *testing.T) {
doTest(t, "tcp", "0.0.0.0", "127.0.0.1");
doTest(t, "tcp", "", "127.0.0.1");
if kernelSupportsIPv6() {
doTest(t, "tcp", "[::]", "[::ffff:127.0.0.1]");
doTest(t, "tcp", "[::]", "127.0.0.1");
doTest(t, "tcp", "", "127.0.0.1");
doTest(t, "tcp", "0.0.0.0", "[::ffff:127.0.0.1]");
}
}
func TestUnixServer(t *testing.T) {
......@@ -150,10 +152,12 @@ func doTestPacket(t *testing.T, network, listenaddr, dialaddr string) {
func TestUDPServer(t *testing.T) {
doTestPacket(t, "udp", "0.0.0.0", "127.0.0.1");
doTestPacket(t, "udp", "", "127.0.0.1");
if kernelSupportsIPv6() {
doTestPacket(t, "udp", "[::]", "[::ffff:127.0.0.1]");
doTestPacket(t, "udp", "[::]", "127.0.0.1");
doTestPacket(t, "udp", "", "127.0.0.1");
doTestPacket(t, "udp", "0.0.0.0", "[::ffff:127.0.0.1]");
}
}
func TestUnixDatagramServer(t *testing.T) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment