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

Issue 65460043: add PatchPath method

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 2 months ago by natefinch
Modified:
10 years, 2 months ago
Reviewers:
dimitern, mp+206984, rog
Visibility:
Public.

Description

add PatchPath method This consolidates a bunch of spots in tests that all just watch to patch the $PATH (and were doing so in a non-portable way). https://code.launchpad.net/~natefinch/juju-core/035-pathlists/+merge/206984 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 6

Patch Set 2 : add PatchPath method #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -19 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/ssh_test.go View 1 1 chunk +1 line, -1 line 0 comments Download
M environs/sshstorage/storage_test.go View 1 1 chunk +1 line, -2 lines 0 comments Download
M provider/local/environ_test.go View 1 2 chunks +1 line, -2 lines 0 comments Download
M state/apiserver/client/run_test.go View 1 2 chunks +1 line, -3 lines 0 comments Download
M testing/testbase/cleanup.go View 1 1 chunk +7 lines, -0 lines 0 comments Download
M testing/testbase/patch.go View 1 2 chunks +12 lines, -0 lines 0 comments Download
M testing/testbase/patch_test.go View 1 1 chunk +15 lines, -0 lines 0 comments Download
M upgrades/lockdirectory_test.go View 1 2 chunks +1 line, -2 lines 0 comments Download
M upstart/upstart_test.go View 1 1 chunk +1 line, -2 lines 0 comments Download
M utils/ssh/run_test.go View 1 2 chunks +1 line, -3 lines 0 comments Download
M utils/ssh/ssh_test.go View 1 1 chunk +1 line, -1 line 0 comments Download
M utils/ssh/testing/fakessh.go View 1 2 chunks +1 line, -2 lines 0 comments Download
M worker/uniter/debug/server_test.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4
natefinch
Please take a look.
10 years, 2 months ago (2014-02-18 16:32:24 UTC) #1
rog
LGTM except that I'd suggest a slightly more meaningful name, say PatchExecPath, because there are ...
10 years, 2 months ago (2014-02-18 16:41:40 UTC) #2
dimitern
LGTM with a few suggestions. https://codereview.appspot.com/65460043/diff/1/testing/testbase/patch.go File testing/testbase/patch.go (right): https://codereview.appspot.com/65460043/diff/1/testing/testbase/patch.go#newcode63 testing/testbase/patch.go:63: // PatchPath provides a ...
10 years, 2 months ago (2014-02-18 16:45:38 UTC) #3
natefinch
10 years, 2 months ago (2014-02-18 17:10:32 UTC) #4
Please take a look.
Sign in to reply to this message.

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