tests: set PROGRAMDATA directory for running tests
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