aboutsummaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-12-19 01:14:35 -0800
committerJunio C Hamano <junkio@cox.net>2006-12-19 01:14:35 -0800
commit171e800b374c98dd703e906bd9955b2b0410cabe (patch)
tree7187470ff1de2c9f5906ca053277314e30bb62f2 /t/test-lib.sh
parent74d20040cafdced657efbf49795183d209a3a07b (diff)
downloadgit-171e800b374c98dd703e906bd9955b2b0410cabe.tar.gz
git-171e800b374c98dd703e906bd9955b2b0410cabe.tar.xz
Revert "fix testsuite: make sure they use templates freshly built from the source"
This reverts commit 74d20040cafdced657efbf49795183d209a3a07b. Version from Johannes to introduce GIT_TEMPLATE_DIR is simpler, although I unconsciously stayed away from introducing yet another environment variable.
Diffstat (limited to 't/test-lib.sh')
-rwxr-xr-xt/test-lib.sh10
1 files changed, 0 insertions, 10 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 7e9149751..ac7be769b 100755
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -182,16 +182,6 @@ test_create_repo () {
cd "$owd"
}
-# Many tests do init-db and clone but they must be told about the freshly
-# built templates.
-git_init_db () {
- git init-db --template="$GIT_EXEC_PATH/templates/blt/" "$@"
-}
-
-git_clone () {
- git clone --template="$GIT_EXEC_PATH/templates/blt/" "$@"
-}
-
test_done () {
trap - exit
case "$test_failure" in