From: Zooko O'Whielacronx Date: Mon, 24 May 2010 07:33:48 +0000 (-0700) Subject: test: show stdout and stderr in case of non-zero exit code from "tahoe" command X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/?a=commitdiff_plain;h=d4f6d4092c99f0360844f72ebdde8167bc9fce41;p=tahoe-lafs%2Ftahoe-lafs.git test: show stdout and stderr in case of non-zero exit code from "tahoe" command --- diff --git a/src/allmydata/test/test_runner.py b/src/allmydata/test/test_runner.py index b543ecdb..c617dd62 100644 --- a/src/allmydata/test/test_runner.py +++ b/src/allmydata/test/test_runner.py @@ -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.