Skip to content

Commit e408b75

Browse files
committed
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>
1 parent 06cb2bd commit e408b75

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
@@ -936,7 +936,7 @@ elif test -n "$GIT_TEST_INSTALLED"
936936
then
937937
GIT_EXEC_PATH=$($GIT_TEST_INSTALLED/git --exec-path) ||
938938
error "Cannot run git from $GIT_TEST_INSTALLED."
939-
PATH=$GIT_TEST_INSTALLED:$GIT_BUILD_DIR:$PATH
939+
PATH=$GIT_TEST_INSTALLED:$GIT_BUILD_DIR/t/helper:$PATH
940940
GIT_EXEC_PATH=${GIT_TEST_EXEC_PATH:-$GIT_EXEC_PATH}
941941
else # normal case, use ../bin-wrappers only unless $with_dashes:
942942
git_bin_dir="$GIT_BUILD_DIR/bin-wrappers"

0 commit comments

Comments
 (0)