Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1188)

Issue 7363056: code review 7363056: os/exec: Pass tests on Plan 9 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by akumar
Modified:
12 years ago
Reviewers:
CC:
rsc, rminnich, ality, bradfitz, golang-dev
Visibility:
Public.

Description

os/exec: Pass tests on Plan 9 Adjust the exit status string for Plan 9. Upon allocating >100 file descriptors, Plan 9 raises a warning. Moreover, the Go runtime for 32-bit version of Plan 9 keeps /dev/bintime open for its implementation of runtime.nanotime(). This change accounts for these things in TestExtraFiles.

Patch Set 1 #

Patch Set 2 : diff -r fd4d555bf27d https://code.google.com/p/go #

Patch Set 3 : diff -r fd4d555bf27d https://code.google.com/p/go #

Total comments: 8

Patch Set 4 : diff -r fd4d555bf27d https://code.google.com/p/go #

Total comments: 6

Patch Set 5 : diff -r fd4d555bf27d https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -10 lines) Patch
M src/pkg/os/exec/exec_test.go View 1 2 3 4 7 chunks +34 lines, -10 lines 0 comments Download

Messages

Total messages: 7
akumar
Hello rsc@golang.org, rminnich@gmail.com, ality@pbrane.org, bradfitz@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to ...
12 years ago (2013-02-26 01:34:53 UTC) #1
bradfitz
https://codereview.appspot.com/7363056/diff/5001/src/pkg/os/exec/exec_test.go File src/pkg/os/exec/exec_test.go (right): https://codereview.appspot.com/7363056/diff/5001/src/pkg/os/exec/exec_test.go#newcode89 src/pkg/os/exec/exec_test.go:89: e := "exit status 42" not that this is ...
12 years ago (2013-02-26 01:45:37 UTC) #2
akumar
PTAL. I made a change to make sure that the output from "read3" in TestHelperProcess ...
12 years ago (2013-02-26 06:33:32 UTC) #3
bradfitz
LGTM after nits below. https://codereview.appspot.com/7363056/diff/11001/src/pkg/os/exec/exec_test.go File src/pkg/os/exec/exec_test.go (right): https://codereview.appspot.com/7363056/diff/11001/src/pkg/os/exec/exec_test.go#newcode156 src/pkg/os/exec/exec_test.go:156: func skipfds(n uintptr) uintptr { ...
12 years ago (2013-02-26 15:04:49 UTC) #4
akumar
PTAL. Also updated the fd leaks checks to use basefds() and basefds()+1 rather than skipfds(1) ...
12 years ago (2013-02-26 16:39:51 UTC) #5
akumar
Yes please. On 26 February 2013 17:33, Anthony Martin <ality@pbrane.org> wrote: > LGTM > > ...
12 years ago (2013-02-26 17:36:53 UTC) #6
ality
12 years ago (2013-02-26 17:41:04 UTC) #7
*** Submitted as https://code.google.com/p/go/source/detail?r=234c58b9499b ***

os/exec: Pass tests on Plan 9

Adjust the exit status string for Plan 9.

Upon allocating >100 file descriptors, Plan 9
raises a warning. Moreover, the Go runtime for
32-bit version of Plan 9 keeps /dev/bintime
open for its implementation of runtime.nanotime().
This change accounts for these things in
TestExtraFiles.

R=rsc, rminnich, ality, bradfitz
CC=golang-dev
https://codereview.appspot.com/7363056

Committer: Anthony Martin <ality@pbrane.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b