diff options
-rwxr-xr-x | cmdtest | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -117,10 +117,10 @@ class CommandTester(cliapp.Application): env=self.add_to_env(), stdin=stdin) - expected_exit = test.exit or 0 + expected_exit = int(self.cat(test.exit or '/dev/null').strip() or '0') expected_stdout = self.cat(test.stdout or '/dev/null') expected_stderr = self.cat(test.stderr or '/dev/null') - + errors = [] if out != expected_stdout: diff = self.diff(expected_stdout, out) |