mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-23 14:41:43 +00:00
move requires_hardlinks upwards
This commit is contained in:
parent
806dc5084d
commit
73c04398f3
1 changed files with 2 additions and 2 deletions
|
@ -381,6 +381,8 @@ def create_test_files(self):
|
|||
|
||||
|
||||
class ArchiverTestCase(ArchiverTestCaseBase):
|
||||
requires_hardlinks = pytest.mark.skipif(not are_hardlinks_supported(), reason='hardlinks not supported')
|
||||
|
||||
def test_basic_functionality(self):
|
||||
have_root = self.create_test_files()
|
||||
# fork required to test show-rc output
|
||||
|
@ -811,8 +813,6 @@ def _extract_hardlinks_setup(self):
|
|||
self.cmd('init', '--encryption=repokey', self.repository_location)
|
||||
self.cmd('create', self.repository_location + '::test', 'input')
|
||||
|
||||
requires_hardlinks = pytest.mark.skipif(not are_hardlinks_supported(), reason='hardlinks not supported')
|
||||
|
||||
@requires_hardlinks
|
||||
@unittest.skipUnless(llfuse, 'llfuse not installed')
|
||||
def test_fuse_mount_hardlinks(self):
|
||||
|
|
Loading…
Reference in a new issue