summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2005-11-16 01:44:50 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-11-16 06:10:58 (GMT)
commita0fa2a10b401aa4c8b13d176a5e3e3b7c455208f (patch)
tree0f3970bcecf38e44e80bc9604febf12437058746 /t/test-lib.sh
parent1a41e743c6270a24daca7309ef3d9ef74543d8ae (diff)
downloadgit-a0fa2a10b401aa4c8b13d176a5e3e3b7c455208f.zip
git-a0fa2a10b401aa4c8b13d176a5e3e3b7c455208f.tar.gz
git-a0fa2a10b401aa4c8b13d176a5e3e3b7c455208f.tar.bz2
Fix tests with new git in C
GIT_EXEC_PATH *has* to be set. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/test-lib.sh')
-rwxr-xr-xt/test-lib.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index a8f239d..e654155 100755
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -158,6 +158,8 @@ test_done () {
# Test the binaries we have just built. The tests are kept in
# t/ subdirectory and are run in trash subdirectory.
PATH=$(pwd)/..:$PATH
+GIT_EXEC_PATH=$(pwd)/..
+export GIT_EXEC_PATH
# Test repository
test=trash