diff options
author | Thomas Rast <trast@student.ethz.ch> | 2010-07-25 16:55:46 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-31 12:11:06 -0700 |
commit | 568899539d23be8689da4e7ee989deb8b8dc1a75 (patch) | |
tree | ff2f3e70c347f4f4d9abb8a5a00de36d016cdfee /t | |
parent | cvs tests: do not touch test CVS repositories shipped with source (diff) | |
download | tgif-568899539d23be8689da4e7ee989deb8b8dc1a75.tar.xz |
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 <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rw-r--r-- | t/test-lib.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index 46179988a3..9746ca4089 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 |