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:
parent
57c0103c32
commit
11bb4eb8fc
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue