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>
Johannes Schindelin committed
Nov 12, 2018 at 05:48 UTC
16df35cbd303cd4464b7549bd99d8d852301a8bb
1 file changed
+1
-1
t/test-lib.sh
+1
-1
@@ -957,7 +957,7 @@ elif test -n "$GIT_TEST_INSTALLED"
957
then
958
GIT_EXEC_PATH=$($GIT_TEST_INSTALLED/git --exec-path) ||
959
error "Cannot run git from $GIT_TEST_INSTALLED."
960
- PATH=$GIT_TEST_INSTALLED:$GIT_BUILD_DIR:$PATH
960
+ PATH=$GIT_TEST_INSTALLED:$GIT_BUILD_DIR/t/helper:$PATH
961
GIT_EXEC_PATH=${GIT_TEST_EXEC_PATH:-$GIT_EXEC_PATH}
962
else # normal case, use ../bin-wrappers only unless $with_dashes:
963
git_bin_dir="$GIT_BUILD_DIR/bin-wrappers"