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>
Johannes Schindelin committed
Nov 16, 2005 at 02:44 UTC
a0fa2a10b401aa4c8b13d176a5e3e3b7c455208f
1 file changed
+2
t/test-lib.sh
+2
@@ -158,6 +158,8 @@ test_done () {
158
# Test the binaries we have just built. The tests are kept in
159
# t/ subdirectory and are run in trash subdirectory.
160
PATH=$(pwd)/..:$PATH
161
+GIT_EXEC_PATH=$(pwd)/..
162
+export GIT_EXEC_PATH
163
164
# Test repository
165
test=trash