From: Thomas Rast Date: Sun, 25 Jul 2010 14:55:46 +0000 (+0200) Subject: test: Introduce $GIT_BUILD_DIR X-Git-Tag: v1.7.3-rc0~2^2~7 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=568899539d23be8689da4e7ee989deb8b8dc1a75;p=git.git test: Introduce $GIT_BUILD_DIR Introduce a new variable $GIT_BUILD_DIR which can be used to locate data that resides under the build directory, and use that instead. Signed-off-by: Thomas Rast Signed-off-by: Junio C Hamano --- diff --git a/t/test-lib.sh b/t/test-lib.sh index 46179988a..9746ca408 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -793,6 +793,7 @@ else # normal case, use ../bin-wrappers only unless $with_dashes: PATH="$TEST_DIRECTORY/..:$PATH" fi fi +GIT_BUILD_DIR=$(pwd)/.. GIT_TEMPLATE_DIR=$(pwd)/../templates/blt unset GIT_CONFIG GIT_CONFIG_NOSYSTEM=1