Merge branch 'ap/remote-hg-unquote-cquote' into maint
[alt-git.git] / t / t9602-cvsimport-branches-tags.sh
blobe1db323f545fccfdadbf2bc1df1060e006674298
1 #!/bin/sh
3 # A description of the repository used for this test can be found in
4 # t9602/README.
6 test_description='git cvsimport handling of branches and tags'
7 . ./lib-cvs.sh
9 setup_cvs_test_repository t9602
11 test_expect_success PERL 'import module' '
13 git cvsimport -C module-git module
17 test_expect_success PERL 'test branch master' '
19 test_cmp_branch_tree master
23 test_expect_success PERL 'test branch vendorbranch' '
25 test_cmp_branch_tree vendorbranch
29 test_expect_failure PERL 'test branch B_FROM_INITIALS' '
31 test_cmp_branch_tree B_FROM_INITIALS
35 test_expect_failure PERL 'test branch B_FROM_INITIALS_BUT_ONE' '
37 test_cmp_branch_tree B_FROM_INITIALS_BUT_ONE
41 test_expect_failure PERL 'test branch B_MIXED' '
43 test_cmp_branch_tree B_MIXED
47 test_expect_success PERL 'test branch B_SPLIT' '
49 test_cmp_branch_tree B_SPLIT
53 test_expect_failure PERL 'test tag vendortag' '
55 test_cmp_branch_tree vendortag
59 test_expect_success PERL 'test tag T_ALL_INITIAL_FILES' '
61 test_cmp_branch_tree T_ALL_INITIAL_FILES
65 test_expect_failure PERL 'test tag T_ALL_INITIAL_FILES_BUT_ONE' '
67 test_cmp_branch_tree T_ALL_INITIAL_FILES_BUT_ONE
71 test_expect_failure PERL 'test tag T_MIXED' '
73 test_cmp_branch_tree T_MIXED
78 test_done