Skip to content

Commit

Permalink
remote-helpers: allow all tests running from any dir
Browse files Browse the repository at this point in the history
Commit d3243d7 (test-bzr.sh, test-hg.sh: allow running from any dir)
allowed the tests to run from any directory, however, it didn't update
all the tests.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Felipe Contreras authored and Junio C Hamano committed Apr 9, 2014
1 parent 0bc85ab commit fe45cfb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion contrib/remote-helpers/test-hg-bidi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@

test_description='Test bidirectionality of remote-hg'

. ./test-lib.sh
test -n "$TEST_DIRECTORY" || TEST_DIRECTORY=${0%/*}/../../t
. "$TEST_DIRECTORY"/test-lib.sh

if ! test_have_prereq PYTHON
then
Expand Down
3 changes: 2 additions & 1 deletion contrib/remote-helpers/test-hg-hg-git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@

test_description='Test remote-hg output compared to hg-git'

. ./test-lib.sh
test -n "$TEST_DIRECTORY" || TEST_DIRECTORY=${0%/*}/../../t
. "$TEST_DIRECTORY"/test-lib.sh

if ! test_have_prereq PYTHON
then
Expand Down

0 comments on commit fe45cfb

Please sign in to comment.