tests: fix GIT_TEST_INSTALLED's PATH to include t/helper/
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 12 Nov 2018 13:48:33 +0000 (05:48 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Nov 2018 04:50:20 +0000 (13:50 +0900)
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>
t/test-lib.sh
index aba66cafa207765cb74d78e86c13faa619788c16..93883580a8b30482fdcccdddc724c92aeeef3f9d 100644 (file)
@@ -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"