summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2018-11-12 13:48:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-14 04:50:20 (GMT)
commit16df35cbd303cd4464b7549bd99d8d852301a8bb (patch)
treed5bd2003ef89b1d8353e53ae30f7a512c6af575f /t/test-lib.sh
parentd166e6afe5f257217836ef24a73764eba390c58d (diff)
downloadgit-16df35cbd303cd4464b7549bd99d8d852301a8bb.zip
git-16df35cbd303cd4464b7549bd99d8d852301a8bb.tar.gz
git-16df35cbd303cd4464b7549bd99d8d852301a8bb.tar.bz2
tests: fix GIT_TEST_INSTALLED's PATH to include t/helper/
We really need to be able to find the test helpers... Really. This change was forgotten when we moved the test helpers into t/helper/ Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index aba66ca..9388358 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -957,7 +957,7 @@ elif test -n "$GIT_TEST_INSTALLED"
then
GIT_EXEC_PATH=$($GIT_TEST_INSTALLED/git --exec-path) ||
error "Cannot run git from $GIT_TEST_INSTALLED."
- PATH=$GIT_TEST_INSTALLED:$GIT_BUILD_DIR:$PATH
+ PATH=$GIT_TEST_INSTALLED:$GIT_BUILD_DIR/t/helper:$PATH
GIT_EXEC_PATH=${GIT_TEST_EXEC_PATH:-$GIT_EXEC_PATH}
else # normal case, use ../bin-wrappers only unless $with_dashes:
git_bin_dir="$GIT_BUILD_DIR/bin-wrappers"