summaryrefslogtreecommitdiff
path: root/t/t7101-reset.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-01-04 22:45:08 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-01-05 00:07:57 -0800
commite9b20943b7713ed7c051621f97e12713ccf98e1f (patch)
tree5b739c6c0e35b116f4653ab447a64f463f4b7855 /t/t7101-reset.sh
parentt/t{3600,3800,5401}: do not use egrep when grep would do (diff)
downloadtgif-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 't/t7101-reset.sh')
0 files changed, 0 insertions, 0 deletions