]> git.ipfire.org Git - thirdparty/git.git/commit - t/t0040-parse-options.sh
parse-options: add testcases for OPT_CMDMODE()
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 20 Feb 2020 14:15:15 +0000 (15:15 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Feb 2020 21:20:40 +0000 (13:20 -0800)
commit62e7a6f7a1427f461e72ccd5acebc200d55747e0
treeeabf4c8a8e76e4f7114c83d290529a0df67a5fa2
parentd0654dc308b0ba76dd8ed7bbb33c8d8f7aacd783
parse-options: add testcases for OPT_CMDMODE()

Before modifying the implementation, ensure that general operation of
OPT_CMDMODE() and detection of incompatible options are covered.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/helper/test-parse-options.c
t/t0040-parse-options.sh