Merge lp:~cjwatson/launchpad/utilities-run-as into lp:launchpad
Proposed by
Colin Watson
Status: | Merged |
---|---|
Merged at revision: | 18500 |
Proposed branch: | lp:~cjwatson/launchpad/utilities-run-as |
Merge into: | lp:launchpad |
Diff against target: |
40 lines (+36/-0) 1 file modified
utilities/run-as (+36/-0) |
To merge this branch: | bzr merge lp:~cjwatson/launchpad/utilities-run-as |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
William Grant | code | Approve | |
Review via email: mp+332290@code.launchpad.net |
Commit message
Add a utility to make it easier to run Launchpad code inside "lxc exec".
Description of the change
I've had this lying around as ~/bin/lp-su for a while, but it seems more generally useful. Running the test suite in a running container becomes:
lxc exec "$container_name" -- $PWD/utilities/
... which is still a hefty pile of adverbs, but isn't too bad.
To post a comment you must log in.