diff --git a/t/bidi.t b/t/bidi.t index ebc0d88..72c803a 100755 --- a/t/bidi.t +++ b/t/bidi.t @@ -8,7 +8,7 @@ test_description='Test bidirectionality of remote-hg' -. ./test-lib.sh +. "$(dirname "$0")"/test-lib.sh # clone to a git repo git_clone () { diff --git a/t/hg-git.t b/t/hg-git.t index 6d7e782..b097047 100755 --- a/t/hg-git.t +++ b/t/hg-git.t @@ -10,7 +10,7 @@ test_description='Test remote-hg output compared to hg-git' -. ./test-lib.sh +. "$(dirname "$0")"/test-lib.sh export EXPECTED_DIR="$SHARNESS_TEST_DIRECTORY/expected" diff --git a/t/main.t b/t/main.t index 6da6a00..9c0fc86 100755 --- a/t/main.t +++ b/t/main.t @@ -8,7 +8,7 @@ test_description='Test remote-hg' -. ./test-lib.sh +. "$(dirname "$0")"/test-lib.sh check () { echo $3 > expected &&