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

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJameson Miller <jamill@microsoft.com>2012-12-14 02:58:12 +0400
committerJameson Miller <jamill@microsoft.com>2012-12-14 02:58:12 +0400
commit8a8820d89fce2831e4a3efffcd9b75cbc479152a (patch)
tree15621d929ac5a1e7111ad784378f8fa60a02ba7e /tests-clar/clone
parentcb2ace69f453c598e97697fda449e8ce75fd5c0a (diff)
Add test to clone with absolute path
Diffstat (limited to 'tests-clar/clone')
-rw-r--r--tests-clar/clone/nonetwork.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests-clar/clone/nonetwork.c b/tests-clar/clone/nonetwork.c
index fbebe5460..84327081e 100644
--- a/tests-clar/clone/nonetwork.c
+++ b/tests-clar/clone/nonetwork.c
@@ -39,6 +39,14 @@ void test_clone_nonetwork__local(void)
cl_git_pass(git_clone(&g_repo, src, "./local", NULL, NULL, NULL));
}
+void test_clone_nonetwork__local_absolute_path(void)
+{
+ const char *src = cl_fixture("testrepo.git");
+ cl_set_cleanup(&cleanup_repository, "./local");
+
+ cl_git_pass(git_clone(&g_repo, src, "./local", NULL, NULL, NULL));
+}
+
void test_clone_nonetwork__local_bare(void)
{
const char *src = cl_git_fixture_url("testrepo.git");