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
   8CVSROOT="$TEST_DIRECTORY"/t9602/cvsroot
  10export CVSROOT
  11test_expect_success 'import module' '
  13        git cvsimport -C module-git module
  15'
  17test_expect_success 'test branch master' '
  19        test_cmp_branch_tree master
  21'
  23test_expect_success 'test branch vendorbranch' '
  25        test_cmp_branch_tree vendorbranch
  27'
  29test_expect_failure 'test branch B_FROM_INITIALS' '
  31        test_cmp_branch_tree B_FROM_INITIALS
  33'
  35test_expect_failure 'test branch B_FROM_INITIALS_BUT_ONE' '
  37        test_cmp_branch_tree B_FROM_INITIALS_BUT_ONE
  39'
  41test_expect_failure 'test branch B_MIXED' '
  43        test_cmp_branch_tree B_MIXED
  45'
  47test_expect_success 'test branch B_SPLIT' '
  49        test_cmp_branch_tree B_SPLIT
  51'
  53test_expect_failure 'test tag vendortag' '
  55        test_cmp_branch_tree vendortag
  57'
  59test_expect_success 'test tag T_ALL_INITIAL_FILES' '
  61        test_cmp_branch_tree T_ALL_INITIAL_FILES
  63'
  65test_expect_failure 'test tag T_ALL_INITIAL_FILES_BUT_ONE' '
  67        test_cmp_branch_tree T_ALL_INITIAL_FILES_BUT_ONE
  69'
  71test_expect_failure 'test tag T_MIXED' '
  73        test_cmp_branch_tree T_MIXED
  75'
  77test_done