]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/tasks/cephfs/test_data_scan.py
update ceph source to reef 18.2.0
[ceph.git] / ceph / qa / tasks / cephfs / test_data_scan.py
index d9c4a023cd338ec45a7eac76e06377bc64214043..9a93bd622126d46fb326f236deeecb8b49850aa9 100644 (file)
@@ -184,6 +184,10 @@ class BacktracelessFile(Workload):
         # We might not have got the name or path, but we should still get the size
         self.assert_equal(st['st_size'], self._initial_state['st_size'])
 
+        # remove the entry from lost+found directory
+        self._mount.run_shell(["sudo", "rm", "-f", f'lost+found/{ino_name}'], omit_sudo=False)
+        self.assert_equal(self._mount.ls("lost+found", sudo=True), [])
+
         return self._errors