Web lists-archives.com

[PATCH 1/1] t9902: 'send-email' test case requires PERL




From: Johannes Schindelin <johannes.schindelin@xxxxxx>

With NO_PERL, the `git send-email` script errors out with code 128,
mentioning that Git was built without Perl support.

Therefore, when the completion tries to ask for possible completions via
`git send-email --git-completion-helper`, it won't provide what is
necessary for that test case to pass.

So let's mark it with the PERL prerequisite.

Signed-off-by: Johannes Schindelin <johannes.schindelin@xxxxxx>
---
 t/t9902-completion.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/t9902-completion.sh b/t/t9902-completion.sh
index d01ad8eb25..137fdc9bd5 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 "
 '
-- 
gitgitgadget