Merge branch 'db/make-with-curl'
[gitweb.git] / contrib / remote-helpers / test-hg-bidi.sh
index e24c51daad1038184bd6113ceee77c042dc26f17..d86e147d3d400e226b1afb95fa2de48e42883fbd 100755 (executable)
@@ -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