aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/os/exec/exec_test.go
diff options
context:
space:
mode:
authorJoel Sing <jsing@google.com>2012-08-16 02:06:21 +1000
committerJoel Sing <jsing@google.com>2012-08-16 02:06:21 +1000
commit2ab18f69a6eb76951f5e06bf6e291cdd56a827b4 (patch)
tree4597b70a2b9f640c1300d706a39dcac922daf993 /src/pkg/os/exec/exec_test.go
parentb60d45f5b8c7a6c844c8f7878784b8560628cef4 (diff)
downloadgo-2ab18f69a6eb76951f5e06bf6e291cdd56a827b4.tar.xz
os/exec: disable additional file descriptor test on netbsd
This currently fails on NetBSD due to the cloned file descriptors that result from opening /dev/urandom. Disable the additional checking until this is investigated and properly fixed. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/6443129
Diffstat (limited to 'src/pkg/os/exec/exec_test.go')
-rw-r--r--src/pkg/os/exec/exec_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pkg/os/exec/exec_test.go b/src/pkg/os/exec/exec_test.go
index aead57d799..2cc053e5bc 100644
--- a/src/pkg/os/exec/exec_test.go
+++ b/src/pkg/os/exec/exec_test.go
@@ -337,6 +337,11 @@ func TestHelperProcess(*testing.T) {
// TODO(bradfitz): broken? Sometimes.
// http://golang.org/issue/2603
// Skip this additional part of the test for now.
+ case "netbsd":
+ // TODO(jsing): This currently fails on NetBSD due to
+ // the cloned file descriptors that result from opening
+ // /dev/urandom.
+ // http://golang.org/issue/3955
default:
// Now verify that there are no other open fds.
var files []*os.File