mirror of
https://github.com/git/git.git
synced 2024-11-25 10:54:00 +08:00
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:
commit
a9f80f3dd4
@ -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' '
|
||||
|
||||
|
@ -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...
|
||||
#
|
||||
|
@ -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()
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user