]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: disable TestPassFD on openbsd
authorRuss Cox <rsc@golang.org>
Fri, 1 Mar 2013 16:51:32 +0000 (11:51 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 1 Mar 2013 16:51:32 +0000 (11:51 -0500)
Update #4956.

R=golang-dev
CC=golang-dev
https://golang.org/cl/7417048

src/pkg/syscall/passfd_test.go

index a0e590950755fc8f3b7866ddf42b394c87c8629f..079c9303ba582fb8b8fedde2a9a8531e4508d4e6 100644 (file)
@@ -13,6 +13,7 @@ import (
        "net"
        "os"
        "os/exec"
+       "runtime"
        "syscall"
        "testing"
        "time"
@@ -26,6 +27,9 @@ import (
 // "-test.run=^TestPassFD$" and an environment variable used to signal
 // that the test should become the child process instead.
 func TestPassFD(t *testing.T) {
+       if runtime.GOOS == "openbsd" {
+               t.Skip("issue 4956")
+       }
        if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" {
                passFDChild()
                return