Browse Source

tests: ignore 'com.apple.provenance' xattr (macOS specific)

Divyansh Agrawal 2 tháng trước cách đây
mục cha
commit
9fa8b58867
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/borg/testsuite/xattr_test.py

+ 1 - 1
src/borg/testsuite/xattr_test.py

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