Add test to clone with absolute path

This commit is contained in:
Jameson Miller 2012-12-13 17:58:12 -05:00
parent cb2ace69f4
commit 8a8820d89f

View File

@ -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");