Created
May 27, 2015 20:48
-
-
Save xiam/f50f6dd6085f9a07ccfd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /go/src/net/file_test.go 2015-05-26 17:20:34.000000000 -0400 | |
+++ /go/src/net/file_test.go.fixed 2015-05-27 16:03:17.486632591 -0400 | |
@@ -189,7 +189,10 @@ | |
if skipServerTest(tt.net, "unixgram", tt.addr, tt.ipv6, false, tt.linux) { | |
continue | |
} | |
- if os.Getuid() != 0 && tt.net == "ip4:icmp" { | |
+ // It seems like creating ICMP packets is not supported in the | |
+ // newest docker, let's just skip it so we can continue | |
+ // working. | |
+ if tt.net == "ip4:icmp" { | |
t.Log("skipping test; must be root") | |
continue | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment