Commit 418dd410 authored by Russ Cox's avatar Russ Cox

syscall: disable TestPassFD on openbsd

Update #4956.

R=golang-dev
CC=golang-dev
https://golang.org/cl/7417048
parent e6a3e22c
...@@ -13,6 +13,7 @@ import ( ...@@ -13,6 +13,7 @@ import (
"net" "net"
"os" "os"
"os/exec" "os/exec"
"runtime"
"syscall" "syscall"
"testing" "testing"
"time" "time"
...@@ -26,6 +27,9 @@ import ( ...@@ -26,6 +27,9 @@ import (
// "-test.run=^TestPassFD$" and an environment variable used to signal // "-test.run=^TestPassFD$" and an environment variable used to signal
// that the test should become the child process instead. // that the test should become the child process instead.
func TestPassFD(t *testing.T) { func TestPassFD(t *testing.T) {
if runtime.GOOS == "openbsd" {
t.Skip("issue 4956")
}
if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" { if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" {
passFDChild() passFDChild()
return return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment