Skip to content

Commit d2b263c

Browse files
avargitster
authored andcommitted
t/t7105-reset-patch.sh: Add a PERL prerequisite
Change this test to declare a PERL prerequisite. These tests use the -p switch, so they implicitly depend on Perl code, but nothing was declaring this. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f944414 commit d2b263c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

t/t7105-reset-patch.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
test_description='git reset --patch'
44
. ./lib-patch-mode.sh
55

6-
test_expect_success 'setup' '
6+
test_expect_success PERL 'setup' '
77
mkdir dir &&
88
echo parent > dir/foo &&
99
echo dummy > bar &&
@@ -17,20 +17,20 @@ test_expect_success 'setup' '
1717

1818
# note: bar sorts before foo, so the first 'n' is always to skip 'bar'
1919

20-
test_expect_success 'saying "n" does nothing' '
20+
test_expect_success PERL 'saying "n" does nothing' '
2121
set_and_save_state dir/foo work work
2222
(echo n; echo n) | git reset -p &&
2323
verify_saved_state dir/foo &&
2424
verify_saved_state bar
2525
'
2626

27-
test_expect_success 'git reset -p' '
27+
test_expect_success PERL 'git reset -p' '
2828
(echo n; echo y) | git reset -p &&
2929
verify_state dir/foo work head &&
3030
verify_saved_state bar
3131
'
3232

33-
test_expect_success 'git reset -p HEAD^' '
33+
test_expect_success PERL 'git reset -p HEAD^' '
3434
(echo n; echo y) | git reset -p HEAD^ &&
3535
verify_state dir/foo work parent &&
3636
verify_saved_state bar

0 commit comments

Comments
 (0)