summaryrefslogtreecommitdiff
path: root/tests-clar/repo/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests-clar/repo/config.c')
-rw-r--r--tests-clar/repo/config.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests-clar/repo/config.c b/tests-clar/repo/config.c
index b8971bb6b..11abd42bc 100644
--- a/tests-clar/repo/config.c
+++ b/tests-clar/repo/config.c
@@ -46,6 +46,8 @@ void test_repo_config__open_missing_global(void)
git_config_free(global);
git_config_free(config);
git_repository_free(repo);
+
+ git_futils_dirs_global_shutdown();
}
void test_repo_config__open_missing_global_with_separators(void)
@@ -73,6 +75,8 @@ void test_repo_config__open_missing_global_with_separators(void)
git_config_free(global);
git_config_free(config);
git_repository_free(repo);
+
+ git_futils_dirs_global_shutdown();
}
#include "repository.h"
@@ -101,6 +105,8 @@ void test_repo_config__read_no_configs(void)
cl_assert_equal_i(GIT_ABBREV_DEFAULT, val);
git_repository_free(repo);
+ git_futils_dirs_global_shutdown();
+
/* with just system */
cl_must_pass(p_mkdir("alternate/1", 0777));
@@ -197,4 +203,6 @@ void test_repo_config__read_no_configs(void)
cl_assert(!git_path_exists("empty_standard_repo/.git/config"));
cl_assert(!git_path_exists("alternate/3/.gitconfig"));
+
+ git_futils_dirs_global_shutdown();
}