1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-01 04:37:34 +00:00

filter out selinux xattrs, fixes #4574

This commit is contained in:
Thomas Waldmann 2019-05-21 00:00:07 +02:00
parent 57c0103c32
commit 11bb4eb8fc

View file

@ -2242,7 +2242,7 @@ def has_noatime(some_file):
assert xattr.getxattr(out_fn, b'user.foo') == b'bar'
assert xattr.getxattr(out_fn, b'user.empty') == b''
else:
assert xattr.listxattr(out_fn) == []
assert no_selinux(xattr.listxattr(out_fn)) == []
try:
xattr.getxattr(out_fn, b'user.foo')
except OSError as e: