commit | 33f0ea42e12d3f54ef8ff53580649885c1503d05 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Tue Feb 09 10:06:33 2010 -0800 |
committer | Junio C Hamano <gitster@pobox.com> | Wed Feb 10 13:42:29 2010 -0800 |
tree | d44d626ccf1518136835a816c917f4a699dad23c | |
parent | 92f9e273e86d505e4c2a28bc053eb514ca2cc552 [diff] |
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>