Skip to content

Commit 7524780

Browse files
dschogitster
authored andcommitted
t3701: test the built-in add -i regardless of NO_PERL
The built-in `git add --interactive` does not require Perl, therefore we can safely run these tests even when building with `NO_PERL=LetsDoThat`. Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent cfd0163 commit 7524780

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t3701-add-interactive.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
77
. ./test-lib.sh
88
. "$TEST_DIRECTORY"/lib-terminal.sh
99

10-
if ! test_have_prereq PERL
10+
if test_have_prereq !ADD_I_USE_BUILTIN,!PERL
1111
then
12-
skip_all='skipping add -i tests, perl not available'
12+
skip_all='skipping add -i (scripted) tests, perl not available'
1313
test_done
1414
fi
1515

0 commit comments

Comments
 (0)