Add test to clone with absolute path
diff --git a/tests-clar/clone/nonetwork.c b/tests-clar/clone/nonetwork.c
index fbebe54..8432708 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");