From 418dd410db78d7f3034464db55440d89a08d9318 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 1 Mar 2013 11:51:32 -0500 Subject: [PATCH] syscall: disable TestPassFD on openbsd Update #4956. R=golang-dev CC=golang-dev https://golang.org/cl/7417048 --- src/pkg/syscall/passfd_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pkg/syscall/passfd_test.go b/src/pkg/syscall/passfd_test.go index a0e59095075..079c9303ba5 100644 --- a/src/pkg/syscall/passfd_test.go +++ b/src/pkg/syscall/passfd_test.go @@ -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