Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2005-12-08 23:25:55 +0300
committerJunio C Hamano <junkio@cox.net>2005-12-09 23:51:04 +0300
commit0f737464a6734d917431cf8df14eb04bd9c4cd8d (patch)
tree1ffc80aea4799a71db4811289f99d968cb8f46f2 /t
parent2b86976bfd6e42609692d57fffaef72bd985c23a (diff)
use "git init-db" in tests
This is to catch an error where tests are run without first building what are being tested. Relying on prefixing $PATH with the build directory and expect that the PATH mechanism would find what we just built would silently run an already installed binaries from the PATH. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't')
-rwxr-xr-xt/test-lib.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 0539dacc1c..3704e5faf0 100755
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -190,8 +190,8 @@ test=trash
rm -fr "$test"
mkdir "$test"
cd "$test"
-git-init-db --template=../../templates/blt/ 2>/dev/null ||
-error "cannot run git-init-db"
+git init-db --template=../../templates/blt/ 2>/dev/null ||
+error "cannot run git init-db"
mv .git/hooks .git/hooks-disabled