[PATCH] t2024: mark test using "checkout -p" with PERL prerequisite
- From
- CB 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)