mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 22:39:38 +00:00
refs: readonly tests don't need a sandboxed repo
This commit is contained in:
parent
2d012c0c72
commit
874303d468
@ -16,12 +16,12 @@ static git_repository *g_repo;
|
|||||||
|
|
||||||
void test_refs_read__initialize(void)
|
void test_refs_read__initialize(void)
|
||||||
{
|
{
|
||||||
g_repo = cl_git_sandbox_init("testrepo");
|
cl_git_pass(git_repository_open(&g_repo, cl_fixture("testrepo.git")));
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_refs_read__cleanup(void)
|
void test_refs_read__cleanup(void)
|
||||||
{
|
{
|
||||||
cl_git_sandbox_cleanup();
|
git_repository_free(g_repo);
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_refs_read__loose_tag(void)
|
void test_refs_read__loose_tag(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user