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