We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29aef94 commit ed812eeCopy full SHA for ed812ee
tests/config/include.c
@@ -113,6 +113,7 @@ void test_config_include__missing_homedir(void)
113
git_config *cfg;
114
git_buf buf = GIT_BUF_INIT;
115
116
+ cl_git_pass(git_libgit2_opts(GIT_OPT_SET_SEARCH_PATH, GIT_CONFIG_LEVEL_GLOBAL, cl_fixture("config")));
117
cl_git_mkfile("including", "[include]\npath = ~/.nonexistentfile\n[foo]\nbar = baz");
118
119
giterr_clear();
@@ -123,6 +124,8 @@ void test_config_include__missing_homedir(void)
123
124
125
git_buf_free(&buf);
126
git_config_free(cfg);
127
+
128
+ cl_sandbox_set_search_path_defaults();
129
}
130
131
#define replicate10(s) s s s s s s s s s s
0 commit comments