Code

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 a8f239df8fc45575ca543208c2bcad771d3f4d7e..e654155a2eb0bc7aaf84335141d51c8f4fedb512 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