3 # A description of the repository used for this test can be found in
6 test_description='git cvsimport handling of branches and tags'
7 GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
8 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
12 setup_cvs_test_repository t9602
14 test_expect_success PERL 'import module' '
16 git cvsimport -C module-git module
20 test_expect_success PERL 'test branch main' '
22 test_cmp_branch_tree main
26 test_expect_success PERL 'test branch vendorbranch' '
28 test_cmp_branch_tree vendorbranch
32 test_expect_failure PERL 'test branch B_FROM_INITIALS' '
34 test_cmp_branch_tree B_FROM_INITIALS
38 test_expect_failure PERL 'test branch B_FROM_INITIALS_BUT_ONE' '
40 test_cmp_branch_tree B_FROM_INITIALS_BUT_ONE
44 test_expect_failure PERL 'test branch B_MIXED' '
46 test_cmp_branch_tree B_MIXED
50 test_expect_success PERL 'test branch B_SPLIT' '
52 test_cmp_branch_tree B_SPLIT
56 test_expect_failure PERL 'test tag vendortag' '
58 test_cmp_branch_tree vendortag
62 test_expect_success PERL 'test tag T_ALL_INITIAL_FILES' '
64 test_cmp_branch_tree T_ALL_INITIAL_FILES
68 test_expect_failure PERL 'test tag T_ALL_INITIAL_FILES_BUT_ONE' '
70 test_cmp_branch_tree T_ALL_INITIAL_FILES_BUT_ONE
74 test_expect_failure PERL 'test tag T_MIXED' '
76 test_cmp_branch_tree T_MIXED