test-lib: Use "$GIT_BUILD_DIR" instead of "$TEST_DIRECTORY"/../
commite4b52593c67d5ce2710158a6bece402fe110cade
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 19 Aug 2010 16:08:10 +0000 (19 16:08 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Aug 2010 22:05:02 +0000 (19 15:05 -0700)
treeb8727b64e8fe79b1575654014c0c751b7905f1cd
parent76c77279b41cad3819e56858882d1d4758f8cb92
test-lib: Use "$GIT_BUILD_DIR" instead of "$TEST_DIRECTORY"/../

Change code that used $TEST_DIRECTORY/.. to use $GIT_BUILD_DIR
instead, the two are equivalent, but the latter is easier to read.

This required moving the assignment od GIT_BUILD_DIR to earlier in the
test-lib.sh file.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh