1#!/bin/sh
   2# A description of the repository used for this test can be found in
   4# t9602/README.
   5test_description='git cvsimport handling of branches and tags'
   7. ./lib-cvs.sh
   8setup_cvs_test_repository t9602
  10test_expect_success PERL 'import module' '
  12        git cvsimport -C module-git module
  14'
  16test_expect_success PERL 'test branch master' '
  18        test_cmp_branch_tree master
  20'
  22test_expect_success PERL 'test branch vendorbranch' '
  24        test_cmp_branch_tree vendorbranch
  26'
  28test_expect_failure PERL 'test branch B_FROM_INITIALS' '
  30        test_cmp_branch_tree B_FROM_INITIALS
  32'
  34test_expect_failure PERL 'test branch B_FROM_INITIALS_BUT_ONE' '
  36        test_cmp_branch_tree B_FROM_INITIALS_BUT_ONE
  38'
  40test_expect_failure PERL 'test branch B_MIXED' '
  42        test_cmp_branch_tree B_MIXED
  44'
  46test_expect_success PERL 'test branch B_SPLIT' '
  48        test_cmp_branch_tree B_SPLIT
  50'
  52test_expect_failure PERL 'test tag vendortag' '
  54        test_cmp_branch_tree vendortag
  56'
  58test_expect_success PERL 'test tag T_ALL_INITIAL_FILES' '
  60        test_cmp_branch_tree T_ALL_INITIAL_FILES
  62'
  64test_expect_failure PERL 'test tag T_ALL_INITIAL_FILES_BUT_ONE' '
  66        test_cmp_branch_tree T_ALL_INITIAL_FILES_BUT_ONE
  68'
  70test_expect_failure PERL 'test tag T_MIXED' '
  72        test_cmp_branch_tree T_MIXED
  74'
  76test_done