diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2018-07-01 20:23:53 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-07-16 14:38:47 -0700 |
commit | be8c48d4c4e42a7fe879241ca4e52325dd4f96f0 (patch) | |
tree | 8fcbca94da77fdb868e52b5708519bad6a6d787b /rerere.c | |
parent | t7810: use test_expect_code() instead of hand-rolled comparison (diff) | |
download | tgif-be8c48d4c4e42a7fe879241ca4e52325dd4f96f0.tar.xz |
t9001: fix broken "invoke hook" test
This test has been dysfunctional since it was added by 6489660b4b
(send-email: support validate hook, 2017-05-12), however, the problem
went unnoticed due to a broken &&-chain late in the test.
The test wants to verify that a non-zero exit code from the
'sendemail-validate' hook causes git-send-email to abort with a
particular error message. A command which is expected to fail should be
run with 'test_must_fail', however, the test neglects to do so.
Fix this problem, as well as the broken &&-chain behind which the
problem hid.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'rerere.c')
0 files changed, 0 insertions, 0 deletions