mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-25 20:53:32 +00:00
Add test to clone with absolute path
This commit is contained in:
parent
cb2ace69f4
commit
8a8820d89f
@ -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");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user