summaryrefslogtreecommitdiff
path: root/t/t9902-completion.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2018-12-13 14:04:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-12-14 02:56:02 (GMT)
commit0365b9ec59f5fbe6a1a638bdb006d0ebcbd53a99 (patch)
tree828e0bc9ba67a4e24918506abe2a951b63ef5668 /t/t9902-completion.sh
parent5d826e972970a784bd7a7bdf587512510097b8c7 (diff)
downloadgit-0365b9ec59f5fbe6a1a638bdb006d0ebcbd53a99.zip
git-0365b9ec59f5fbe6a1a638bdb006d0ebcbd53a99.tar.gz
git-0365b9ec59f5fbe6a1a638bdb006d0ebcbd53a99.tar.bz2
t9902: 'send-email' test case requires PERL
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>
Diffstat (limited to 't/t9902-completion.sh')
-rwxr-xr-xt/t9902-completion.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9902-completion.sh b/t/t9902-completion.sh
index d01ad8e..137fdc9 100755
--- a/t/t9902-completion.sh
+++ b/t/t9902-completion.sh
@@ -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 "
'