remote-helpers: allow all tests running from any dir

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>

Felipe Contreras committed Apr 9, 2014 at 13:50 UTC fe45cfb518f7cb313051986e03c402bc206e55af
2 files changed +4 -2
contrib/remote-helpers/test-hg-bidi.sh
+2 -1
@@ -8,7 +8,8 @@
8
9 test_description='Test bidirectionality of remote-hg'
10
11 -. ./test-lib.sh
11 +test -n "$TEST_DIRECTORY" || TEST_DIRECTORY=${0%/*}/../../t
12 +. "$TEST_DIRECTORY"/test-lib.sh
13
14 if ! test_have_prereq PYTHON
15 then
contrib/remote-helpers/test-hg-hg-git.sh
+2 -1
@@ -8,7 +8,8 @@
8
9 test_description='Test remote-hg output compared to hg-git'
10
11 -. ./test-lib.sh
11 +test -n "$TEST_DIRECTORY" || TEST_DIRECTORY=${0%/*}/../../t
12 +. "$TEST_DIRECTORY"/test-lib.sh
13
14 if ! test_have_prereq PYTHON
15 then