Merge pull request #8722 from div-dev123/bug/attr

tests: ignore 'com.apple.provenance' xattr (macOS specific)
This commit is contained in:
TW 2025-04-06 12:36:11 +02:00 committed by GitHub
commit e4890298ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,7 @@ def tempfile_symlink(tmp_path):
def assert_equal_se(is_x, want_x):
# check 2 xattr lists for equality, but ignore security.selinux attr
is_x = set(is_x) - {b"security.selinux"}
is_x = set(is_x) - {b"security.selinux", b"com.apple.provenance"}
want_x = set(want_x)
assert is_x == want_x