summaryrefslogtreecommitdiff
path: root/tests-clar/repo/init.c
diff options
context:
space:
mode:
authorSebastian Bauer <mail@sebastianbauer.info>2013-01-12 18:44:50 +0100
committerSebastian Bauer <mail@sebastianbauer.info>2013-01-12 18:44:50 +0100
commit4a4aee1112d9b73303ede92c3b9ca54aaf2e7a3e (patch)
tree28426cb4e01cc34c5b6b1466200c7c5935836f8b /tests-clar/repo/init.c
parente2d2c6e57d122f381fb42b7df1c7a12819050490 (diff)
downloadlibgit2-4a4aee1112d9b73303ede92c3b9ca54aaf2e7a3e.tar.gz
Added flag GIT_REPOSITORY_INIT_EXTERNAL_TEMPLATE to test_repo_init__extended_with_template().
Otherwise the template functionallity is not tested (as a TODO we also shall test that the specified template really got copied).
Diffstat (limited to 'tests-clar/repo/init.c')
-rw-r--r--tests-clar/repo/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/repo/init.c b/tests-clar/repo/init.c
index c0acbed5a..09b25c13a 100644
--- a/tests-clar/repo/init.c
+++ b/tests-clar/repo/init.c
@@ -367,7 +367,7 @@ void test_repo_init__extended_with_template(void)
{
git_repository_init_options opts = GIT_REPOSITORY_INIT_OPTIONS_INIT;
- opts.flags = GIT_REPOSITORY_INIT_MKPATH | GIT_REPOSITORY_INIT_BARE;
+ opts.flags = GIT_REPOSITORY_INIT_MKPATH | GIT_REPOSITORY_INIT_BARE | GIT_REPOSITORY_INIT_EXTERNAL_TEMPLATE;
opts.template_path = cl_fixture("template");
cl_git_pass(git_repository_init_ext(&_repo, "templated.git", &opts));