Commit 8a8820d8 by Jameson Miller

Add test to clone with absolute path

parent cb2ace69
...@@ -39,6 +39,14 @@ void test_clone_nonetwork__local(void) ...@@ -39,6 +39,14 @@ void test_clone_nonetwork__local(void)
cl_git_pass(git_clone(&g_repo, src, "./local", NULL, NULL, NULL)); 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) void test_clone_nonetwork__local_bare(void)
{ {
const char *src = cl_git_fixture_url("testrepo.git"); const char *src = cl_git_fixture_url("testrepo.git");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment