@@ -57,6 +57,9 @@ func testPacketManipulator(useIPv6 bool, t *testing.T) {
network := "tcp4"
address := net.JoinHostPort(ipv4.String(), "0")
if useIPv6 {
+ if ipv6 == nil {
+ t.Skipf("test unsupported: no IP address")
+ }
network = "tcp6"
address = net.JoinHostPort(ipv6.String(), "0")
}
@@ -95,7 +95,7 @@ func testTunneledTCP(t *testing.T, useIPv6 bool) {
// and routing config, see the changes made in fixBindToDevice.
if TCP_RELAY_TOTAL_SIZE%TCP_RELAY_CHUNK_SIZE != 0 {
- t.Fatalf("startTestTCPServer failed: invalid relay size")
+ t.Fatalf("invalid relay size")
MTU := DEFAULT_MTU