diff options
author | Michael J Gruber <git@drmicha.warpmail.net> | 2009-04-21 11:21:59 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-04-21 09:49:04 -0700 |
commit | 3a0483281afbb6660aaf86c7b228a523782a4d6a (patch) | |
tree | 15550e942e5a5599ff1525258c546d025fadeb4d /remote.c | |
parent | 0be9bc0f0a45ba667e7aaca14257da772b38e783 (diff) | |
download | git-3a0483281afbb6660aaf86c7b228a523782a4d6a.tar.gz git-3a0483281afbb6660aaf86c7b228a523782a4d6a.tar.xz |
test-lib.sh: Help test_create_repo() find the templates dir
Currently, test_create_repo() expects that templates can be found below
`pwd`/.. This assumption fails when tests are run against a git
installed somewhere else or test_create_repo() is called from
subdirectiories (several tests do this).
Therefore, use $TEST_DIRECTORY as introduced in 2d84e9fb and expect
templates to be present in $TEST_DIRECTORY/.. which should be the root
dir of the git checkout.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.c')
0 files changed, 0 insertions, 0 deletions