Commit fe96374823b5f944622dfa3b91f460d4753bc935

Edward Thomson 2015-11-16T23:34:26

tests: set PROGRAMDATA directory for running tests

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/clar_libgit2.c b/tests/clar_libgit2.c
index 61442f8..1bf69c5 100644
--- a/tests/clar_libgit2.c
+++ b/tests/clar_libgit2.c
@@ -549,6 +549,8 @@ void cl_sandbox_set_search_path_defaults(void)
 		GIT_OPT_SET_SEARCH_PATH, GIT_CONFIG_LEVEL_XDG, sandbox_path);
 	git_libgit2_opts(
 		GIT_OPT_SET_SEARCH_PATH, GIT_CONFIG_LEVEL_SYSTEM, sandbox_path);
+	git_libgit2_opts(
+		GIT_OPT_SET_SEARCH_PATH, GIT_CONFIG_LEVEL_PROGRAMDATA, sandbox_path);
 }
 
 #ifdef GIT_WIN32