t8003: check exit code of command and error message separately
authorJunio C Hamano <gitster@pobox.com>
Tue, 9 Feb 2010 18:06:33 +0000 (10:06 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Feb 2010 21:42:29 +0000 (13:42 -0800)
Shell reports exit status only from the most downstream command
in a pipeline. In these tests, we want to make sure that the
command fails in a controlled way, and produces a correct error
message.

This issue was known by Jay who submitted the patch, and also was
pointed out by Hannes during the review process, but I forgot to
fix it up before applying. Sorry about that.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found