diff options
| author | Andrew Gerrand <adg@golang.org> | 2011-12-22 08:50:56 +1100 |
|---|---|---|
| committer | Andrew Gerrand <adg@golang.org> | 2011-12-22 08:50:56 +1100 |
| commit | f2c9d228508d7da944c92804befa28c158e3ea43 (patch) | |
| tree | 711c4800c0c1b17a0c8ccc314631dd96fdda22cb /src/pkg/os/exec/exec_test.go | |
| parent | 5e5592cf30b3415cf76189c4343f915541596cbb (diff) | |
| download | go-f2c9d228508d7da944c92804befa28c158e3ea43.tar.xz | |
os/exec: enable inherited file descriptor test
Fixes #2596.
R=golang-dev
CC=golang-dev
https://golang.org/cl/5498061
Diffstat (limited to 'src/pkg/os/exec/exec_test.go')
| -rw-r--r-- | src/pkg/os/exec/exec_test.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/pkg/os/exec/exec_test.go b/src/pkg/os/exec/exec_test.go index 2b4166cc3e..a015cbe96c 100644 --- a/src/pkg/os/exec/exec_test.go +++ b/src/pkg/os/exec/exec_test.go @@ -256,13 +256,6 @@ func TestHelperProcess(*testing.T) { fmt.Printf("ReadAll from fd 3: %v", err) os.Exit(1) } - // TODO(bradfitz): remove this block once the builders are restarted - // with a new binary including be47ea17bea0 (set CLOEXEC on epoll/kqueue fds) - // and 5500053 (don't trust O_CLOEXEC on OS X). - { - os.Stderr.Write(bs) - os.Exit(0) - } // Now verify that there are no other open fds. var files []*os.File for wantfd := os.Stderr.Fd() + 2; wantfd <= 100; wantfd++ { |
