|
@@ -1393,7 +1393,7 @@ class ArchiverTestCase(ArchiverTestCaseBase):
|
|
|
self.cmd('extract', self.repository_location + '::test')
|
|
|
assert xattr.getxattr(b'input/file', b'security.capability') == capabilities
|
|
|
|
|
|
- @pytest.mark.skipif(not xattr.XATTR_FAKEROOT, reason='xattr not supported on this system or on this version of'
|
|
|
+ @pytest.mark.skipif(not xattr.XATTR_FAKEROOT, reason='xattr not supported on this system or on this version of '
|
|
|
'fakeroot')
|
|
|
def test_extract_xattrs_errors(self):
|
|
|
def patched_setxattr_E2BIG(*args, **kwargs):
|
|
@@ -3486,7 +3486,7 @@ id: 2 / e29442 3506da 4e1ea7 / 25f62a 5a3d41 - 02
|
|
|
assert 'Attic repository detected.' in output
|
|
|
|
|
|
# derived from test_extract_xattrs_errors()
|
|
|
- @pytest.mark.skipif(not xattr.XATTR_FAKEROOT, reason='xattr not supported on this system or on this version of'
|
|
|
+ @pytest.mark.skipif(not xattr.XATTR_FAKEROOT, reason='xattr not supported on this system or on this version of '
|
|
|
'fakeroot')
|
|
|
def test_do_not_fail_when_percent_is_in_xattr_name(self):
|
|
|
"""https://github.com/borgbackup/borg/issues/6063"""
|
|
@@ -3502,7 +3502,7 @@ id: 2 / e29442 3506da 4e1ea7 / 25f62a 5a3d41 - 02
|
|
|
self.cmd('extract', self.repository_location + '::test', exit_code=EXIT_WARNING)
|
|
|
|
|
|
# derived from test_extract_xattrs_errors()
|
|
|
- @pytest.mark.skipif(not xattr.XATTR_FAKEROOT, reason='xattr not supported on this system or on this version of'
|
|
|
+ @pytest.mark.skipif(not xattr.XATTR_FAKEROOT, reason='xattr not supported on this system or on this version of '
|
|
|
'fakeroot')
|
|
|
def test_do_not_fail_when_percent_is_in_file_name(self):
|
|
|
"""https://github.com/borgbackup/borg/issues/6063"""
|