t/test-lib: make sure Git has already been built
authorRamkumar Ramachandra <artagnon@gmail.com>
Mon, 17 Sep 2012 17:06:19 +0000 (22:36 +0530)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Sep 2012 21:22:19 +0000 (14:22 -0700)
commit2006f0adaee036145b4261b942d944adb18647ed
tree86a5c3e10a544551a92736a40aa06dcc84022041
parent5805853f228acafe1d45edeef780cd1b00b952aa
t/test-lib: make sure Git has already been built

When tests were run without building git, they stopped with:

    .: 54: Can't open /path/to/git/source/t/../GIT-BUILD-OPTIONS

Move the check that makes sure that git has already been built from
t0000 to test-lib, so that any test will do so before it runs.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0000-basic.sh
t/test-lib.sh