chiark / gitweb /
Test for specific exit code
authorKarl Hasselström <kha@treskal.com>
Sun, 6 Jul 2008 16:09:08 +0000 (18:09 +0200)
committerKarl 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