void-packages/srcpkgs/libgit2/patches/disable-test-validate_curre...

14 lines
572 B
Diff
Raw Normal View History

2022-01-30 14:29:53 +01:00
diff --git a/tests/util/path.c b/tests/util/path.c
index 2c39e0887..71a8d6040 100644
--- a/tests/util/path.c
+++ b/tests/util/path.c
@@ -757,7 +757,7 @@ void test_path__validate_current_user_ownership(void)
cl_git_fail(git_fs_path_owner_is_current_user(&is_cur, "c:\\path\\does\\not\\exist"));
#else
cl_git_pass(git_fs_path_owner_is_current_user(&is_cur, "/"));
- cl_assert_equal_i(is_cur, 0);
+ //cl_assert_equal_i(is_cur, 0); // xbps-src chroot belongs to $USER, not root
cl_git_fail(git_fs_path_owner_is_current_user(&is_cur, "/path/does/not/exist"));
#endif