mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-05-31 06:41:10 +00:00
test: show stdout and stderr in case of non-zero exit code from "tahoe" command
This commit is contained in:
parent
ba8f0c27f0
commit
d4f6d4092c
@ -37,7 +37,7 @@ class TheRightCode(common_util.SignalMixin, unittest.TestCase, SkipMixin):
|
||||
d = utils.getProcessOutputAndValue(bintahoe, args=["--version-and-path"], env=os.environ)
|
||||
def _cb(res):
|
||||
out, err, rc_or_sig = res
|
||||
self.failUnlessEqual(rc_or_sig, 0)
|
||||
self.failUnlessEqual(rc_or_sig, 0, str((out, err, rc_or_sig)))
|
||||
|
||||
# Fail unless the allmydata-tahoe package is *this* version *and*
|
||||
# was loaded from *this* source directory.
|
||||
|
Loading…
x
Reference in New Issue
Block a user