t8003: check exit code of command and error message separately
commit33f0ea42e12d3f54ef8ff53580649885c1503d05
authorJunio C Hamano <gitster@pobox.com>
Tue, 9 Feb 2010 18:06:33 +0000 (9 10:06 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Feb 2010 21:42:29 +0000 (10 13:42 -0800)
treed44d626ccf1518136835a816c917f4a699dad23c
parent92f9e273e86d505e4c2a28bc053eb514ca2cc552
t8003: check exit code of command and error message separately

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>
t/t8003-blame.sh