Code

Merge gitk changes from Paul Mackerras at git://ozlabs.org/~paulus/gitk
[git.git] / t / t9602-cvsimport-branches-tags.sh
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
15 '
17 test_expect_success PERL 'test branch master' '
19         test_cmp_branch_tree master
21 '
23 test_expect_success PERL 'test branch vendorbranch' '
25         test_cmp_branch_tree vendorbranch
27 '
29 test_expect_failure PERL 'test branch B_FROM_INITIALS' '
31         test_cmp_branch_tree B_FROM_INITIALS
33 '
35 test_expect_failure PERL 'test branch B_FROM_INITIALS_BUT_ONE' '
37         test_cmp_branch_tree B_FROM_INITIALS_BUT_ONE
39 '
41 test_expect_failure PERL 'test branch B_MIXED' '
43         test_cmp_branch_tree B_MIXED
45 '
47 test_expect_success PERL 'test branch B_SPLIT' '
49         test_cmp_branch_tree B_SPLIT
51 '
53 test_expect_failure PERL 'test tag vendortag' '
55         test_cmp_branch_tree vendortag
57 '
59 test_expect_success PERL 'test tag T_ALL_INITIAL_FILES' '
61         test_cmp_branch_tree T_ALL_INITIAL_FILES
63 '
65 test_expect_failure PERL 'test tag T_ALL_INITIAL_FILES_BUT_ONE' '
67         test_cmp_branch_tree T_ALL_INITIAL_FILES_BUT_ONE
69 '
71 test_expect_failure PERL 'test tag T_MIXED' '
73         test_cmp_branch_tree T_MIXED
75 '
78 test_done