git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] t2024: mark test using "checkout -p" with PERL prerequisite

From
CBCB Bailey <cb@hashpling.org>
Date
Aug 18, 2018, 04:43 UTC
Message-ID
<20180818044310.14446-1-cb@hashpling.org>

checkout with the -p switch uses the "add interactive" framework which is written in Perl. Add a PERL prerequisite to skip this test when built with NO_PERL.

Signed-off-by: CB Bailey <cb@hashpling.org>
---
 t/t2024-checkout-dwim.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/t2024-checkout-dwim.sh b/t/t2024-checkout-dwim.sh
index f79dfbbdd6..0e512c3066 100755
--- a/t/t2024-checkout-dwim.sh
+++ b/t/t2024-checkout-dwim.sh
@@ -75,7 +75,7 @@ test_expect_success 'checkout of branch from multiple remotes fails #1' '
 	test_branch master
 '
 
-test_expect_success 'checkout of branch from multiple remotes fails with advice' '
+test_expect_success PERL 'checkout of branch from multiple remotes fails with advice' '
 	git checkout -B master &&
 	test_might_fail git branch -D foo &&
 	test_must_fail git checkout foo 2>stderr &&
-- 
2.14.3 (Apple Git-98)
Next: Ævar Arnfjörð Bjarmason
Message 1 of 2 in “t2024: mark test using "checkout -p" with PERL prerequisite”
  1. t2024: mark test using "checkout -p" with PERL prerequisiteCB Bailey, Aug 18, 2018
  2. t2024: mark test using "checkout -p" with PERL prerequisiteÆvar Arnfjörð Bjarmason, Aug 18, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.