mirror of https://github.com/borgbackup/borg.git
filter out selinux xattrs, fixes #4574
This commit is contained in:
parent
bf496d5a66
commit
472bcf507c
|
@ -2219,7 +2219,7 @@ class ArchiverTestCase(ArchiverTestCaseBase):
|
|||
# Special case: getxattr returns None (not b'') when reading an empty xattr.
|
||||
assert xattr.getxattr(out_fn, 'user.empty') is None
|
||||
else:
|
||||
assert xattr.listxattr(out_fn) == []
|
||||
assert no_selinux(xattr.listxattr(out_fn)) == []
|
||||
try:
|
||||
xattr.getxattr(out_fn, 'user.foo')
|
||||
except OSError as e:
|
||||
|
|
Loading…
Reference in New Issue