From: Karl Hasselström Date: Sun, 6 Jul 2008 16:09:08 +0000 (+0200) Subject: Test for specific exit code X-Git-Tag: v0.15-rc1~201 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/f03004e2c26efcd6b172a915e8e0d2f9a7cb064b?hp=f03004e2c26efcd6b172a915e8e0d2f9a7cb064b Test for specific exit code 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 ---