]> Cypherpunks repositories - gostls13.git/commitdiff
os/exec: disable additional file descriptor test on netbsd
authorJoel Sing <jsing@google.com>
Wed, 15 Aug 2012 16:06:21 +0000 (02:06 +1000)
committerJoel Sing <jsing@google.com>
Wed, 15 Aug 2012 16:06:21 +0000 (02:06 +1000)
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

src/pkg/os/exec/exec_test.go

index aead57d7993502f527bd93173d4554b2ba82b5b0..2cc053e5bcd718621c0e94f3d7e738b71f8d6459 100644 (file)
@@ -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