chiark
/
gitweb
/
~mdw
/
stgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
f03004e
)
Test for specific exit code
author
Karl Hasselström
<kha@treskal.com>
Sun, 6 Jul 2008 16:09:08 +0000
(18:09 +0200)
committer
Karl Hasselström
<kha@treskal.com>
Tue, 8 Jul 2008 18:35:23 +0000
(20:35 +0200)
When a command is supposed to fail in a test, test for the exact error
code we're expecting, not just that it's non-zero. This makes sure
e.g. that a command that's supposed to fail doesn't do so with an
unhandled exception.
Signed-off-by: Karl Hasselström <kha@treskal.com>
No differences found