Merge branch 'ab/test-cleanup' into maint

* 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-21 05:39:02 -07:00
commit 6f79d66891
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 && rm -fr frotz xyzzy nitfol &&
git checkout -f master || exit git checkout -f master
'
test_expect_success 'switch from dir to symlink' ' test_expect_success 'switch from dir to symlink' '

View File

@ -5,7 +5,7 @@
test_description='Tests git rev-list --bisect functionality' test_description='Tests git rev-list --bisect functionality'
. ./test-lib.sh . ./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... # 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_description='Tests git rev-list --topo-order functionality'
. ./test-lib.sh . ./test-lib.sh
. "$TEST_DIRECTORY"/t6000lib.sh # t6xxx specific functions . "$TEST_DIRECTORY"/lib-t6000.sh # t6xxx specific functions
list_duplicates() list_duplicates()
{ {

View File

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