@matheusbsbs / matheus-bagliano / commits / c2c09e23ef
Fork 0

t/t9601-cvsimport-vendor-branch.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 c2c09e23ef270d517d88cb597c41ae436c60436e
1 file changed +13 -11
t/t9601-cvsimport-vendor-branch.sh
+13 -11
@@ -34,50 +34,52 @@
34 test_description='git cvsimport handling of vendor branches'
35 . ./lib-cvs.sh
36
37 -CVSROOT="$TEST_DIRECTORY"/t9601/cvsroot
38 -export CVSROOT
37 +test_expect_success PERL 'setup CVSROOT' '
38 + CVSROOT="$TEST_DIRECTORY"/t9601/cvsroot &&
39 + export CVSROOT
40 +'
41
40 -test_expect_success 'import a module with a vendor branch' '
42 +test_expect_success PERL 'import a module with a vendor branch' '
43
44 git cvsimport -C module-git module
45
46 '
47
46 -test_expect_success 'check HEAD out of cvs repository' 'test_cvs_co master'
48 +test_expect_success PERL 'check HEAD out of cvs repository' 'test_cvs_co master'
49
48 -test_expect_success 'check master out of git repository' 'test_git_co master'
50 +test_expect_success PERL 'check master out of git repository' 'test_git_co master'
51
50 -test_expect_success 'check a file that was imported once' '
52 +test_expect_success PERL 'check a file that was imported once' '
53
54 test_cmp_branch_file master imported-once.txt
55
56 '
57
56 -test_expect_failure 'check a file that was imported twice' '
58 +test_expect_failure PERL 'check a file that was imported twice' '
59
60 test_cmp_branch_file master imported-twice.txt
61
62 '
63
62 -test_expect_success 'check a file that was imported then modified on HEAD' '
64 +test_expect_success PERL 'check a file that was imported then modified on HEAD' '
65
66 test_cmp_branch_file master imported-modified.txt
67
68 '
69
68 -test_expect_success 'check a file that was imported, modified, then imported again' '
70 +test_expect_success PERL 'check a file that was imported, modified, then imported again' '
71
72 test_cmp_branch_file master imported-modified-imported.txt
73
74 '
75
74 -test_expect_success 'check a file that was added to HEAD then imported' '
76 +test_expect_success PERL 'check a file that was added to HEAD then imported' '
77
78 test_cmp_branch_file master added-imported.txt
79
80 '
81
80 -test_expect_success 'a vendor branch whose tag has been removed' '
82 +test_expect_success PERL 'a vendor branch whose tag has been removed' '
83
84 test_cmp_branch_file master imported-anonymously.txt
85