1
0
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:
Mikio Hara 2013-03-03 20:06:51 +09:00
parent b767556dd7
commit 51d52f820e

View File

@ -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