Merge branch 'ab/test-cleanup'

* ab/test-cleanup:
  Turn setup code in t2007-checkout-symlink.sh into a test
  Move t6000lib.sh to lib-*
This commit is contained in:
Junio C Hamano 2010-06-13 11:20:57 -07:00
commit a9f80f3dd4
5 changed files with 7 additions and 5 deletions

View File

@ -44,8 +44,10 @@ test_expect_success 'switch from symlink to dir' '
'
test_expect_success 'Remove temporary directories & switch to master' '
rm -fr frotz xyzzy nitfol &&
git checkout -f master || exit
git checkout -f master
'
test_expect_success 'switch from dir to symlink' '

View File

@ -5,7 +5,7 @@
test_description='Tests git rev-list --bisect functionality'
. ./test-lib.sh
. "$TEST_DIRECTORY"/t6000lib.sh # t6xxx specific functions
. "$TEST_DIRECTORY"/lib-t6000.sh # t6xxx specific functions
# usage: test_bisection max-diff bisect-option head ^prune...
#

View File

@ -6,7 +6,7 @@
test_description='Tests git rev-list --topo-order functionality'
. ./test-lib.sh
. "$TEST_DIRECTORY"/t6000lib.sh # t6xxx specific functions
. "$TEST_DIRECTORY"/lib-t6000.sh # t6xxx specific functions
list_duplicates()
{

View File

@ -6,7 +6,7 @@
test_description='Test git rev-parse with different parent options'
. ./test-lib.sh
. "$TEST_DIRECTORY"/t6000lib.sh # t6xxx specific functions
. "$TEST_DIRECTORY"/lib-t6000.sh # t6xxx specific functions
date >path0
git update-index --add path0