DescriptionReintroduce RunCommand cleanup and unit tests. Fixed previous issue in which exceptions were thrown if exit_code was set, and added a new unittest to prove that.
This reintroduces the change after commit 3635aaa55e194c496e11c1b74395646fb99c8801, which reverted 01c84235827527cd2f938897a4a8dfcdbf877281.
BUG=chromium-os:11717
TEST=Ran new unit tests, and did full build.
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=e1b78a7
Patch Set 1 #Patch Set 2 : Don't throw an exception if exit_code is True. #Patch Set 3 : Remove bogus whitespace. #
Total comments: 1
Patch Set 4 : Fixup RunCommand DocString #Messages
Total messages: 3 (0 generated)
|