summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-11-16 23:34:26 -0500
committerEdward Thomson <ethomson@microsoft.com>2015-11-17 08:47:26 -0500
commitfe96374823b5f944622dfa3b91f460d4753bc935 (patch)
tree3a512013d767cf4f6951387d3397d4a923513a77
parent6f7c411834be0ccd5047f58d39daee1f6ec2edc3 (diff)
downloadlibgit2-fe96374823b5f944622dfa3b91f460d4753bc935.tar.gz
tests: set PROGRAMDATA directory for running tests
-rw-r--r--tests/clar_libgit2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/clar_libgit2.c b/tests/clar_libgit2.c
index 61442f88b..1bf69c5d4 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