net: add skip message to test

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5753048
This commit is contained in:
Mikio Hara 2012-03-06 15:41:17 +09:00
parent 932c8ddba1
commit 9442c4429a
7 changed files with 27 additions and 5 deletions

View file

@ -10,7 +10,9 @@ import (
)
func TestWriteToUDP(t *testing.T) {
if runtime.GOOS == "plan9" {
switch runtime.GOOS {
case "plan9":
t.Logf("skipping test on %q", runtime.GOOS)
return
}