tests: set PROGRAMDATA directory for running tests

This commit is contained in:
Edward Thomson 2015-11-16 23:34:26 -05:00 committed by Edward Thomson
parent 6f7c411834
commit fe96374823

View File

@ -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