Fix tests with new git in C
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Wed, 16 Nov 2005 01:44:50 +0000 (02:44 +0100)
committerJunio C Hamano <junkio@cox.net>
Wed, 16 Nov 2005 06:10:58 +0000 (22:10 -0800)
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>
t/test-lib.sh

index a8f239d..e654155 100755 (executable)
@@ -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