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 <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ævar Arnfjörð Bjarmason committed
Aug 13, 2010 at 20:40 UTC
d2b263cb8c02164d27e4bded471a823b70228466
1 file changed
+4
-4
t/t7105-reset-patch.sh
+4
-4
@@ -3,7 +3,7 @@
3
test_description='git reset --patch'
4
. ./lib-patch-mode.sh
5
6
-test_expect_success 'setup' '
6
+test_expect_success PERL 'setup' '
7
mkdir dir &&
8
echo parent > dir/foo &&
9
echo dummy > bar &&
@@ -17,20 +17,20 @@ test_expect_success 'setup' '
17
18
# note: bar sorts before foo, so the first 'n' is always to skip 'bar'
19
20
-test_expect_success 'saying "n" does nothing' '
20
+test_expect_success PERL 'saying "n" does nothing' '
21
set_and_save_state dir/foo work work
22
(echo n; echo n) | git reset -p &&
23
verify_saved_state dir/foo &&
24
verify_saved_state bar
25
'
26
27
-test_expect_success 'git reset -p' '
27
+test_expect_success PERL 'git reset -p' '
28
(echo n; echo y) | git reset -p &&
29
verify_state dir/foo work head &&
30
verify_saved_state bar
31
'
32
33
-test_expect_success 'git reset -p HEAD^' '
33
+test_expect_success PERL 'git reset -p HEAD^' '
34
(echo n; echo y) | git reset -p HEAD^ &&
35
verify_state dir/foo work parent &&
36
verify_saved_state bar