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

Issue 5846063: code review 5846063: sysycall: remove creds_linux_test.go (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 1 month ago by r
Modified:
13 years, 1 month ago
Reviewers:
CC:
golang-dev, bradfitz, r2, dsymonds
Visibility:
Public.

Description

sysycall: remove creds_linux_test.go It is unprecedented to add tests to package syscall, especially system-specific ones. Not a policy worth changing right before Go 1 is cut. The sole existing test, passfd_test.go, contains the line // +build linux darwin probablyfreebsd probablyopenbsd which argues that this is not a subject to be undertaking likely. Note that passfd_test.go also went in just now. It's the only test in syscall. Deleting for now, will reconsider after Go 1.

Patch Set 1 #

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -107 lines) Patch
R src/pkg/syscall/creds_linux_test.go View 1 chunk +0 lines, -107 lines 0 comments Download

Messages

Total messages: 6
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
13 years, 1 month ago (2012-03-18 21:08:38 UTC) #1
bradfitz
I don't get it. So where should such tests go? I only put "probably" in ...
13 years, 1 month ago (2012-03-18 21:12:39 UTC) #2
r2
On 19/03/2012, at 8:12 AM, Brad Fitzpatrick wrote: > I don't get it. > > ...
13 years, 1 month ago (2012-03-18 21:19:52 UTC) #3
r2
On 19/03/2012, at 8:12 AM, Brad Fitzpatrick wrote:] > > I only put "probably" in ...
13 years, 1 month ago (2012-03-18 21:22:43 UTC) #4
dsymonds
LGTM
13 years, 1 month ago (2012-03-19 00:14:14 UTC) #5
r
13 years, 1 month ago (2012-03-19 00:15:32 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=087c6e15702e ***

sysycall: remove creds_linux_test.go
It is unprecedented to add tests to package syscall, especially
system-specific ones. Not a policy worth changing right before Go 1
is cut.

The sole existing test, passfd_test.go, contains the line
        // +build linux darwin probablyfreebsd probablyopenbsd
which argues that this is not a subject to be undertaking likely.
Note that passfd_test.go also went in just now. It's the only test
in syscall.

Deleting for now, will reconsider after Go 1.

R=golang-dev, bradfitz, r, dsymonds
CC=golang-dev
http://codereview.appspot.com/5846063
Sign in to reply to this message.

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