diff options
Diffstat (limited to 'tests/iterator/workdir.c')
-rw-r--r-- | tests/iterator/workdir.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/iterator/workdir.c b/tests/iterator/workdir.c index c8f795a0d..28fcc0d23 100644 --- a/tests/iterator/workdir.c +++ b/tests/iterator/workdir.c @@ -673,6 +673,11 @@ void test_iterator_workdir__skips_unreadable_dirs(void) if (!cl_is_chmod_supported()) return; +#ifndef GIT_WIN32 + if (geteuid() == 0) + cl_skip(); +#endif + g_repo = cl_git_sandbox_init("empty_standard_repo"); cl_must_pass(p_mkdir("empty_standard_repo/r", 0777)); |