test-lib.sh: Test for presence of git-init in the right path.
authorMichael J Gruber <git@drmicha.warpmail.net>
Mon, 16 Mar 2009 17:03:11 +0000 (18:03 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Mar 2009 19:18:18 +0000 (12:18 -0700)
commit7ee3760e2c8f181f22d4b80afc03309e4f764385
tree7e98b1fb9ee18627b16b89276d5761bbb5ad97fa
parent8e24cbaeafc7eed709e251fda1673ffea84edfb1
test-lib.sh: Test for presence of git-init in the right path.

It just happens so that when GIT_EXEC_PATH points to a compiled checkout
of git.git it contains "git". Since this is not true in general make
test-lib check for "git-init" which is always in GIT_EXEC_PATH.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh