mirror of
https://github.com/golang/go
synced 2024-11-12 05:50:21 -07:00
net: disable unixgram test on Plan 9 and Windows
Fixes build on Plan 9 and Windows. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7454049
This commit is contained in:
parent
b767556dd7
commit
51d52f820e
@ -143,6 +143,10 @@ func TestConnAndPacketConn(t *testing.T) {
|
||||
t.Fatalf("icmpMessage.Marshal failed: %v", err)
|
||||
}
|
||||
case "unixgram":
|
||||
switch runtime.GOOS {
|
||||
case "plan9", "windows":
|
||||
continue
|
||||
}
|
||||
wb = []byte("UNIXGRAM PACKETCONN TEST")
|
||||
default:
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user