]> git.ipfire.org Git - thirdparty/git.git/commit
mktag tests: parse out options in helper
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 14 Jun 2021 17:28:18 +0000 (19:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Jun 2021 03:06:47 +0000 (12:06 +0900)
commitfce3b089df2edf3a0b3825aef62d243b8a2e0146
tree01b6f51b4cd0f2b2aadd55510b7062aae6cc8d10
parent670b81a890388c60b7032a4f5b879f2ece8c4558
mktag tests: parse out options in helper

Change check_verify_failure() helper to parse out options from
$@. This makes it easier to add new options in the future. See
06ce79152be (mktag: add a --[no-]strict option, 2021-01-06) for the
initial implementation.

Let's also replace "" quotes with '' for the test body, the varables
we need are eval'd into the body, so there's no need for the quoting
confusion.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3800-mktag.sh