Skip to content

Commit 933766c

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Acked-By: Thomas Rast <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f300fab commit 933766c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

t/lib-patch-mode.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
. ./test-lib.sh
22

3+
if ! test_have_prereq PERL; then
4+
say 'skipping --patch tests, perl not available'
5+
test_done
6+
fi
7+
38
set_state () {
49
echo "$3" > "$1" &&
510
git add "$1" &&

0 commit comments

Comments
 (0)