summaryrefslogtreecommitdiff
path: root/git-am.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-01-04 22:45:08 -0800
committerJunio C Hamano <gitster@pobox.com>2008-01-05 00:07:57 -0800
commite9b20943b7713ed7c051621f97e12713ccf98e1f (patch)
tree5b739c6c0e35b116f4653ab447a64f463f4b7855 /git-am.sh
parent0feb4d1c99ef4188123ff38d702bcbdd483c3702 (diff)
downloadgit-e9b20943b7713ed7c051621f97e12713ccf98e1f.tar.gz
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 'git-am.sh')
0 files changed, 0 insertions, 0 deletions