Add missed HAVE_REFLINK in test_files.py (#5272)

This commit is contained in:
Serene 2024-06-02 14:51:29 +10:00 committed by GitHub
commit e999987300
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -88,10 +88,12 @@ class MoveTest(_common.TestCase):
self.i.move(operation=MoveOperation.COPY)
self.assertExists(self.path)
@unittest.skipUnless(_common.HAVE_REFLINK, "need reflink")
def test_reflink_arrives(self):
self.i.move(operation=MoveOperation.REFLINK_AUTO)
self.assertExists(self.dest)
@unittest.skipUnless(_common.HAVE_REFLINK, "need reflink")
def test_reflink_does_not_depart(self):
self.i.move(operation=MoveOperation.REFLINK_AUTO)
self.assertExists(self.path)