]> git.ipfire.org Git - thirdparty/git.git/blob - t/t9602-cvsimport-branches-tags.sh
Merge branch 'tr/xsize-bits' into maint
[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 CVSROOT="$TEST_DIRECTORY"/t9602/cvsroot
10 export CVSROOT
11
12 test_expect_success 'import module' '
13
14 git cvsimport -C module-git module
15
16 '
17
18 test_expect_success 'test branch master' '
19
20 test_cmp_branch_tree master
21
22 '
23
24 test_expect_success 'test branch vendorbranch' '
25
26 test_cmp_branch_tree vendorbranch
27
28 '
29
30 test_expect_failure 'test branch B_FROM_INITIALS' '
31
32 test_cmp_branch_tree B_FROM_INITIALS
33
34 '
35
36 test_expect_failure 'test branch B_FROM_INITIALS_BUT_ONE' '
37
38 test_cmp_branch_tree B_FROM_INITIALS_BUT_ONE
39
40 '
41
42 test_expect_failure 'test branch B_MIXED' '
43
44 test_cmp_branch_tree B_MIXED
45
46 '
47
48 test_expect_success 'test branch B_SPLIT' '
49
50 test_cmp_branch_tree B_SPLIT
51
52 '
53
54 test_expect_failure 'test tag vendortag' '
55
56 test_cmp_branch_tree vendortag
57
58 '
59
60 test_expect_success 'test tag T_ALL_INITIAL_FILES' '
61
62 test_cmp_branch_tree T_ALL_INITIAL_FILES
63
64 '
65
66 test_expect_failure 'test tag T_ALL_INITIAL_FILES_BUT_ONE' '
67
68 test_cmp_branch_tree T_ALL_INITIAL_FILES_BUT_ONE
69
70 '
71
72 test_expect_failure 'test tag T_MIXED' '
73
74 test_cmp_branch_tree T_MIXED
75
76 '
77
78
79 test_done