t / t9602-cvsimport-branches-tags.shon commit Merge branch 'jh/status-v2-porcelain' (00d2793)
   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
   9setup_cvs_test_repository t9602
  10
  11test_expect_success PERL 'import module' '
  12
  13        git cvsimport -C module-git module
  14
  15'
  16
  17test_expect_success PERL 'test branch master' '
  18
  19        test_cmp_branch_tree master
  20
  21'
  22
  23test_expect_success PERL 'test branch vendorbranch' '
  24
  25        test_cmp_branch_tree vendorbranch
  26
  27'
  28
  29test_expect_failure PERL 'test branch B_FROM_INITIALS' '
  30
  31        test_cmp_branch_tree B_FROM_INITIALS
  32
  33'
  34
  35test_expect_failure PERL 'test branch B_FROM_INITIALS_BUT_ONE' '
  36
  37        test_cmp_branch_tree B_FROM_INITIALS_BUT_ONE
  38
  39'
  40
  41test_expect_failure PERL 'test branch B_MIXED' '
  42
  43        test_cmp_branch_tree B_MIXED
  44
  45'
  46
  47test_expect_success PERL 'test branch B_SPLIT' '
  48
  49        test_cmp_branch_tree B_SPLIT
  50
  51'
  52
  53test_expect_failure PERL 'test tag vendortag' '
  54
  55        test_cmp_branch_tree vendortag
  56
  57'
  58
  59test_expect_success PERL 'test tag T_ALL_INITIAL_FILES' '
  60
  61        test_cmp_branch_tree T_ALL_INITIAL_FILES
  62
  63'
  64
  65test_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
  71test_expect_failure PERL 'test tag T_MIXED' '
  72
  73        test_cmp_branch_tree T_MIXED
  74
  75'
  76
  77
  78test_done