summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2019-01-29 14:19:35 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-01-29 17:26:47 (GMT)
commitca7312d3ef32368108fb78c6ff236a91315927ad (patch)
treec9b9694167d42731a4c8cb63199cf43b35b64c0a /t/test-lib.sh
parent046e90d1c98addb9658b855f0f1253682a777cd2 (diff)
downloadgit-ca7312d3ef32368108fb78c6ff236a91315927ad.zip
git-ca7312d3ef32368108fb78c6ff236a91315927ad.tar.gz
git-ca7312d3ef32368108fb78c6ff236a91315927ad.tar.bz2
tests: add t/helper/ to the PATH with --with-dashes
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 9c0ca5e..c790e98 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -1227,7 +1227,7 @@ else # normal case, use ../bin-wrappers only unless $with_dashes:
GIT_EXEC_PATH=$GIT_BUILD_DIR
if test -n "$with_dashes"
then
- PATH="$GIT_BUILD_DIR:$PATH"
+ PATH="$GIT_BUILD_DIR:$GIT_BUILD_DIR/t/helper:$PATH"
fi
fi
GIT_TEMPLATE_DIR="$GIT_BUILD_DIR"/templates/blt