From: Jeff King Date: Tue, 18 Aug 2009 06:12:44 +0000 (-0400) Subject: tests: disable interactive hunk selection tests if perl is not available X-Git-Tag: v1.6.5-rc0~5^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=933766c1a9df4981aa99120e192d8444150c9765;p=git.git tests: disable interactive hunk selection tests if perl is not available These are all backed by git-add--interactive.perl under the hood. Signed-off-by: Jeff King Acked-By: Thomas Rast Signed-off-by: Junio C Hamano --- diff --git a/t/lib-patch-mode.sh b/t/lib-patch-mode.sh index afb4b6686..75a3ee283 100755 --- a/t/lib-patch-mode.sh +++ b/t/lib-patch-mode.sh @@ -1,5 +1,10 @@ . ./test-lib.sh +if ! test_have_prereq PERL; then + say 'skipping --patch tests, perl not available' + test_done +fi + set_state () { echo "$3" > "$1" && git add "$1" &&