diff options
author | Jeff King <peff@peff.net> | 2009-08-18 02:12:44 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-08-18 12:28:42 -0700 |
commit | 933766c1a9df4981aa99120e192d8444150c9765 (patch) | |
tree | 53618a43d03f68dd51975d36af194cb615213379 /t/lib-patch-mode.sh | |
parent | f300fab5440f25aabb22c6d1fec411ee10e154b1 (diff) | |
download | git-933766c1a9df4981aa99120e192d8444150c9765.tar.gz |
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 <peff@peff.net>
Acked-By: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-patch-mode.sh')
-rwxr-xr-x | t/lib-patch-mode.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/lib-patch-mode.sh b/t/lib-patch-mode.sh index afb4b6686c..75a3ee283d 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" && |