Skip to content

Commit

Permalink
Merge pull request #4585 from ThomasWaldmann/filter-selinux-xattrs
Browse files Browse the repository at this point in the history
filter out selinux xattrs, fixes #4574
  • Loading branch information
ThomasWaldmann committed May 21, 2019
2 parents 537af85 + 11bb4eb commit 881f54a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/borg/testsuite/archiver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 881f54a

Please sign in to comment.