]> Cypherpunks repositories - gostls13.git/commitdiff
os: disable TestGetppid on plan9
authorAlex Brainman <alex.brainman@gmail.com>
Sat, 14 Jun 2014 06:47:40 +0000 (16:47 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Sat, 14 Jun 2014 06:47:40 +0000 (16:47 +1000)
Fixes build.

LGTM=dave
R=golang-codereviews, dave
CC=golang-codereviews
https://golang.org/cl/105140047

src/pkg/os/os_test.go

index baf913c2f0dea58c200df284f6071c3adacf8201..0b43766dd969029b33e9a43b2a0a63ff3dc030ee 100644 (file)
@@ -1294,8 +1294,12 @@ func TestKillStartProcess(t *testing.T) {
 }
 
 func TestGetppid(t *testing.T) {
-       if runtime.GOOS == "nacl" {
+       switch runtime.GOOS {
+       case "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" {