diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2018-04-29 00:33:36 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-30 09:38:51 +0900 |
commit | 7d0ee47c11ffe3c63800625fcf757b05cf4b28c1 (patch) | |
tree | 02ed746c379babc1637d4f1bc69146ef74c25bb8 /t/t4101/diff.0-3 | |
parent | Git 2.17 (diff) | |
download | tgif-7d0ee47c11ffe3c63800625fcf757b05cf4b28c1.tar.xz |
tests: introduce test_unset_prereq, for debugging
While working on the --convert-graft-file test, I missed that I was
relying on the GPG prereq, by using output of test cases that were only
run under that prereq.
For debugging, it was really convenient to force that prereq to be
unmet, but there was no easy way to do that. So I came up with a way,
and this patch reflects the cleaned-up version of that way.
For convenience, the following two methods are now supported ways to
pretend that a prereq is not met:
test_set_prereq !GPG
and
test_unset_prereq GPG
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4101/diff.0-3')
0 files changed, 0 insertions, 0 deletions