os: disable TestGetppid on plan9

Fixes build.

LGTM=dave
R=golang-codereviews, dave
CC=golang-codereviews
https://golang.org/cl/105140047
This commit is contained in:
Alex Brainman 2014-06-14 16:47:40 +10:00
parent 6f6f1bd054
commit be0079abe1
1 changed files with 5 additions and 1 deletions

View File

@ -1294,8 +1294,12 @@ func TestKillStartProcess(t *testing.T) {
} }
func TestGetppid(t *testing.T) { func TestGetppid(t *testing.T) {
if runtime.GOOS == "nacl" { switch runtime.GOOS {
case "nacl":
t.Skip("skipping on nacl") t.Skip("skipping on nacl")
case "plan9":
// TODO: golang.org/issue/8206
t.Skipf("skipping test on plan9; see issue 8206")
} }
if Getenv("GO_WANT_HELPER_PROCESS") == "1" { if Getenv("GO_WANT_HELPER_PROCESS") == "1" {