diff options
Diffstat (limited to 'tests/repo/open.c')
-rw-r--r-- | tests/repo/open.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/repo/open.c b/tests/repo/open.c index 190adff1c..637c785d5 100644 --- a/tests/repo/open.c +++ b/tests/repo/open.c @@ -298,7 +298,8 @@ void test_repo_open__no_config(void) git_config *config; cl_fixture_sandbox("empty_standard_repo"); - cl_git_pass(cl_rename("empty_standard_repo/.gitted", "empty_standard_repo/.git")); + cl_git_pass(cl_rename( + "empty_standard_repo/.gitted", "empty_standard_repo/.git")); /* remove local config */ cl_git_pass(git_futils_rmdir_r( @@ -325,7 +326,7 @@ void test_repo_open__no_config(void) git_repository_free(repo); cl_fixture_cleanup("empty_standard_repo"); - git_sysdir_global_shutdown(); + cl_sandbox_set_search_path_defaults(); } void test_repo_open__force_bare(void) |