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

Issue 7903045: code review 7903045: go.crypto/ssh: fix tests with -cpu 1,2. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 7 months ago by agl1
Modified:
13 years, 7 months ago
Reviewers:
CC:
golang-dev, minux1
Visibility:
Public.

Description

go.crypto/ssh: fix tests with -cpu 1,2. When running the ssh tests several times (e.g. with -cpu 1,2), the second run would fail because testing globals had been altered. This change avoids altering the globals since the default worked anyway. Fixes issue 4715.

Patch Set 1 #

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

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -7 lines) Patch
M ssh/session_test.go View 1 2 2 chunks +1 line, -7 lines 0 comments Download

Messages

Total messages: 3
agl1
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.crypto/
13 years, 7 months ago (2013-03-22 19:26:09 UTC) #1
minux1
LGTM.
13 years, 7 months ago (2013-03-22 19:30:42 UTC) #2
agl1
13 years, 7 months ago (2013-03-22 19:52:19 UTC) #3
*** Submitted as
https://code.google.com/p/go/source/detail?r=dacdc6831675&repo=crypto ***

go.crypto/ssh: fix tests with -cpu 1,2.

When running the ssh tests several times (e.g. with -cpu 1,2), the
second run would fail because testing globals had been altered. This
change avoids altering the globals since the default worked anyway.

Fixes issue 4715.

R=golang-dev, minux.ma
CC=golang-dev
https://codereview.appspot.com/7903045
Sign in to reply to this message.

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