t9902: 'send-email' test case requires PERL
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 13 Dec 2018 14:04:19 +0000 (06:04 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Dec 2018 02:56:02 +0000 (11:56 +0900)
The oneline notwithstanding, 13374987dd (completion: use _gitcompbuiltin
for format-patch, 2018-11-03) changed also the way send-email options
are completed, by asking the git send-email command itself what options
it offers.

Necessarily, this must fail when built with NO_PERL because send-email
itself is a Perl script. Which means that we need the PERL prerequisite
for the send-email test case in t9902.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9902-completion.sh
index d01ad8eb2587ba32637d7ec8161811696a0aec34..137fdc9bd525bea9d6ccde256ee449ed389255c0 100755 (executable)
@@ -1539,7 +1539,7 @@ test_expect_success 'complete tree filename with metacharacters' '
        EOF
 '
 
-test_expect_success 'send-email' '
+test_expect_success PERL 'send-email' '
        test_completion "git send-email --cov" "--cover-letter " &&
        test_completion "git send-email ma" "master "
 '