Skip to content

Commit c2c09e2

Browse files
avargitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d2b263c commit c2c09e2

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

t/t9601-cvsimport-vendor-branch.sh

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,50 +34,52 @@
3434
test_description='git cvsimport handling of vendor branches'
3535
. ./lib-cvs.sh
3636

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+
'
3941

40-
test_expect_success 'import a module with a vendor branch' '
42+
test_expect_success PERL 'import a module with a vendor branch' '
4143
4244
git cvsimport -C module-git module
4345
4446
'
4547

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'
4749

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'
4951

50-
test_expect_success 'check a file that was imported once' '
52+
test_expect_success PERL 'check a file that was imported once' '
5153
5254
test_cmp_branch_file master imported-once.txt
5355
5456
'
5557

56-
test_expect_failure 'check a file that was imported twice' '
58+
test_expect_failure PERL 'check a file that was imported twice' '
5759
5860
test_cmp_branch_file master imported-twice.txt
5961
6062
'
6163

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' '
6365
6466
test_cmp_branch_file master imported-modified.txt
6567
6668
'
6769

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' '
6971
7072
test_cmp_branch_file master imported-modified-imported.txt
7173
7274
'
7375

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' '
7577
7678
test_cmp_branch_file master added-imported.txt
7779
7880
'
7981

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' '
8183
8284
test_cmp_branch_file master imported-anonymously.txt
8385

0 commit comments

Comments
 (0)