summaryrefslogtreecommitdiff
path: root/contrib/remote-helpers/test-hg-bidi.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-04-18 11:17:40 -0700
committerJunio C Hamano <gitster@pobox.com>2014-04-18 11:17:40 -0700
commit8f87d548b6c1fad5f13886f2b1a5acba2764f3b3 (patch)
tree68e62ba17b8520bb1c1c03270ec80f148f74e250 /contrib/remote-helpers/test-hg-bidi.sh
parent961c1b191acccb13bab5895f546034bb2f47eddb (diff)
parent7569accf41d28a3ede684ef96bf6edece5f06ce9 (diff)
downloadgit-8f87d548b6c1fad5f13886f2b1a5acba2764f3b3.tar.gz
Merge branch 'fc/remote-helper-fixes'
* fc/remote-helper-fixes: remote-bzr: trivial test fix remote-bzr: include authors field in pushed commits remote-bzr: add support for older versions remote-hg: always normalize paths remote-helpers: allow all tests running from any dir
Diffstat (limited to 'contrib/remote-helpers/test-hg-bidi.sh')
-rwxr-xr-xcontrib/remote-helpers/test-hg-bidi.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/remote-helpers/test-hg-bidi.sh b/contrib/remote-helpers/test-hg-bidi.sh
index e24c51daad..d86e147d3d 100755
--- a/contrib/remote-helpers/test-hg-bidi.sh
+++ b/contrib/remote-helpers/test-hg-bidi.sh
@@ -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