Skip to content

Commit 16df35c

Browse files
dschogitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d166e6a commit 16df35c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/test-lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ elif test -n "$GIT_TEST_INSTALLED"
957957
then
958958
GIT_EXEC_PATH=$($GIT_TEST_INSTALLED/git --exec-path) ||
959959
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
961961
GIT_EXEC_PATH=${GIT_TEST_EXEC_PATH:-$GIT_EXEC_PATH}
962962
else # normal case, use ../bin-wrappers only unless $with_dashes:
963963
git_bin_dir="$GIT_BUILD_DIR/bin-wrappers"

0 commit comments

Comments
 (0)