Browse Source

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-*
maint
Junio C Hamano 15 years ago
parent
commit
6f79d66891
  1. 0
      t/lib-t6000.sh
  2. 6
      t/t2007-checkout-symlink.sh
  3. 2
      t/t6002-rev-list-bisect.sh
  4. 2
      t/t6003-rev-list-topo-order.sh
  5. 2
      t/t6101-rev-parse-parents.sh

0
t/t6000lib.sh → t/lib-t6000.sh

6
t/t2007-checkout-symlink.sh

@ -44,8 +44,10 @@ test_expect_success 'switch from symlink to dir' ' @@ -44,8 +44,10 @@ test_expect_success 'switch from symlink to dir' '

'

rm -fr frotz xyzzy nitfol &&
git checkout -f master || exit
test_expect_success 'Remove temporary directories & switch to master' '
rm -fr frotz xyzzy nitfol &&
git checkout -f master
'

test_expect_success 'switch from dir to symlink' '


2
t/t6002-rev-list-bisect.sh

@ -5,7 +5,7 @@ @@ -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...
#

2
t/t6003-rev-list-topo-order.sh

@ -6,7 +6,7 @@ @@ -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()
{

2
t/t6101-rev-parse-parents.sh

@ -6,7 +6,7 @@ @@ -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…
Cancel
Save