]> git.ipfire.org Git - thirdparty/git.git/blame - t/t9602-cvsimport-branches-tags.sh
gitweb: correctly store previous rev in javascript-actions mode
[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'
7. ./lib-cvs.sh
8
9b777a16 9setup_cvs_test_repository t9602
0dc06212 10
06eaaa78 11test_expect_success PERL 'import module' '
0dc06212
MH
12
13 git cvsimport -C module-git module
14
15'
16
06eaaa78 17test_expect_success PERL 'test branch master' '
0dc06212
MH
18
19 test_cmp_branch_tree master
20
21'
22
06eaaa78 23test_expect_success PERL 'test branch vendorbranch' '
0dc06212
MH
24
25 test_cmp_branch_tree vendorbranch
26
27'
28
06eaaa78 29test_expect_failure PERL 'test branch B_FROM_INITIALS' '
0dc06212
MH
30
31 test_cmp_branch_tree B_FROM_INITIALS
32
33'
34
06eaaa78 35test_expect_failure PERL 'test branch B_FROM_INITIALS_BUT_ONE' '
0dc06212
MH
36
37 test_cmp_branch_tree B_FROM_INITIALS_BUT_ONE
38
39'
40
06eaaa78 41test_expect_failure PERL 'test branch B_MIXED' '
0dc06212
MH
42
43 test_cmp_branch_tree B_MIXED
44
45'
46
06eaaa78 47test_expect_success PERL 'test branch B_SPLIT' '
0dc06212
MH
48
49 test_cmp_branch_tree B_SPLIT
50
51'
52
06eaaa78 53test_expect_failure PERL 'test tag vendortag' '
0dc06212
MH
54
55 test_cmp_branch_tree vendortag
56
57'
58
06eaaa78 59test_expect_success PERL 'test tag T_ALL_INITIAL_FILES' '
0dc06212
MH
60
61 test_cmp_branch_tree T_ALL_INITIAL_FILES
62
63'
64
06eaaa78 65test_expect_failure PERL 'test tag T_ALL_INITIAL_FILES_BUT_ONE' '
0dc06212
MH
66
67 test_cmp_branch_tree T_ALL_INITIAL_FILES_BUT_ONE
68
69'
70
06eaaa78 71test_expect_failure PERL 'test tag T_MIXED' '
0dc06212
MH
72
73 test_cmp_branch_tree T_MIXED
74
75'
76
77
78test_done