diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-01-04 22:45:08 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-01-05 00:07:57 -0800 |
commit | e9b20943b7713ed7c051621f97e12713ccf98e1f (patch) | |
tree | 5b739c6c0e35b116f4653ab447a64f463f4b7855 /test-match-trees.c | |
parent | t/t{3600,3800,5401}: do not use egrep when grep would do (diff) | |
download | tgif-e9b20943b7713ed7c051621f97e12713ccf98e1f.tar.xz |
t/t3800: do not use a temporary file to hold expected result.
It is a good practice to write program output to a temporary file
during the test, as it would allow easier postmortem when the tested
program does break. But there is no benefit in writing the expected
output out to the temporary.
This actually fixes a bug in check_verify_failure() routine.
The intention of the test seems to make sure the "git mktag" command
fails, and it spits out the expected error message. But if the
command did not fail as expected, the shell function as originally
written would not have detected the failure.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-match-trees.c')
0 files changed, 0 insertions, 0 deletions