]> git.ipfire.org Git - thirdparty/git.git/blob - t/t9602-cvsimport-branches-tags.sh
Merge branch 'wb/fsmonitor-bitmap-fix'
[thirdparty/git.git] / t / t9602-cvsimport-branches-tags.sh
1 #!/bin/sh
2
3 # A description of the repository used for this test can be found in
4 # t9602/README.
5
6 test_description='git cvsimport handling of branches and tags'
7 . ./lib-cvs.sh
8
9 setup_cvs_test_repository t9602
10
11 test_expect_success PERL 'import module' '
12
13 git cvsimport -C module-git module
14
15 '
16
17 test_expect_success PERL 'test branch master' '
18
19 test_cmp_branch_tree master
20
21 '
22
23 test_expect_success PERL 'test branch vendorbranch' '
24
25 test_cmp_branch_tree vendorbranch
26
27 '
28
29 test_expect_failure PERL 'test branch B_FROM_INITIALS' '
30
31 test_cmp_branch_tree B_FROM_INITIALS
32
33 '
34
35 test_expect_failure PERL 'test branch B_FROM_INITIALS_BUT_ONE' '
36
37 test_cmp_branch_tree B_FROM_INITIALS_BUT_ONE
38
39 '
40
41 test_expect_failure PERL 'test branch B_MIXED' '
42
43 test_cmp_branch_tree B_MIXED
44
45 '
46
47 test_expect_success PERL 'test branch B_SPLIT' '
48
49 test_cmp_branch_tree B_SPLIT
50
51 '
52
53 test_expect_failure PERL 'test tag vendortag' '
54
55 test_cmp_branch_tree vendortag
56
57 '
58
59 test_expect_success PERL 'test tag T_ALL_INITIAL_FILES' '
60
61 test_cmp_branch_tree T_ALL_INITIAL_FILES
62
63 '
64
65 test_expect_failure PERL 'test tag T_ALL_INITIAL_FILES_BUT_ONE' '
66
67 test_cmp_branch_tree T_ALL_INITIAL_FILES_BUT_ONE
68
69 '
70
71 test_expect_failure PERL 'test tag T_MIXED' '
72
73 test_cmp_branch_tree T_MIXED
74
75 '
76
77
78 test_done