[PATCH 02/12] tests: don't let Git's test-lib create a repository

John Keeping john at keeping.me.uk
Mon Apr 8 21:12:31 CEST 2013


We create our own repository structure for all CGit tests, so letting
Git's test-lib.sh create one as well just causes an unnecessary call to
git-init.

Signed-off-by: John Keeping <john at keeping.me.uk>
---
 tests/setup.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/setup.sh b/tests/setup.sh
index 774056b..1100449 100755
--- a/tests/setup.sh
+++ b/tests/setup.sh
@@ -16,6 +16,7 @@
 # run_test 'repo summary' 'cgit_url "/foo" | tidy -e'
 
 : ${TEST_DIRECTORY=$(pwd)/../git/t}
+TEST_NO_CREATE_REPO=YesPlease
 . "$TEST_DIRECTORY"/test-lib.sh
 
 mkrepo() {
-- 
1.8.2.694.ga76e9c3.dirty





More information about the CGit mailing list