1
0
mirror of https://github.com/golang/go synced 2024-11-26 18:16:48 -07:00

syscall: disable TestPassFD on openbsd

Update #4956.

R=golang-dev
CC=golang-dev
https://golang.org/cl/7417048
This commit is contained in:
Russ Cox 2013-03-01 11:51:32 -05:00
parent e6a3e22c75
commit 418dd410db

View 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