Skip to content

Commit

Permalink
Merge branch 'ab/test-cleanup' into maint
Browse files Browse the repository at this point in the history
* ab/test-cleanup:
  Turn setup code in t2007-checkout-symlink.sh into a test
  Move t6000lib.sh to lib-*
  • Loading branch information
Junio C Hamano committed Jun 21, 2010
2 parents 6033553 + 621fd7a commit 6f79d66
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
File renamed without changes.
6 changes: 4 additions & 2 deletions t/t2007-checkout-symlink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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' '
Expand Down
2 changes: 1 addition & 1 deletion t/t6002-rev-list-bisect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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...
#
Expand Down
2 changes: 1 addition & 1 deletion t/t6003-rev-list-topo-order.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down
2 changes: 1 addition & 1 deletion t/t6101-rev-parse-parents.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f79d66

Please sign in to comment.