From: Rishabh Dave Date: Mon, 13 Mar 2023 12:15:57 +0000 (+0530) Subject: qa/cephfs: minor corrections in caps_helper.py X-Git-Tag: v19.0.0~1537^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=1428fb1e738626801326b865340b011003ea6f14;p=ceph.git qa/cephfs: minor corrections in caps_helper.py Signed-off-by: Rishabh Dave --- diff --git a/qa/tasks/cephfs/caps_helper.py b/qa/tasks/cephfs/caps_helper.py index ac9bc4401d945..1d83621ab3607 100644 --- a/qa/tasks/cephfs/caps_helper.py +++ b/qa/tasks/cephfs/caps_helper.py @@ -68,7 +68,8 @@ class CapTester(CephFSTestCase): f'hostfs_mntpt = {mount_x.hostfs_mntpt}') mount_x.write_file(filepath, filedata) self.test_set.append((mount_x, filepath, filedata)) - log.info('test file created at {path} with data "{data}.') + log.info(f'Test file created at "{filepath}" with the following ' + f'data -\n"{filedata}"') def run_cap_tests(self, perm, mntpt=None): # TODO @@ -146,7 +147,7 @@ class CapTester(CephFSTestCase): # Example - # orignal path: /mnt/cephfs_x/dir1/dir2/testdir # cephfs dir serving as root for current mnt: /dir1/dir2 - # therefore, final path: /mnt/cephfs_x//testdir + # therefore, final path: /mnt/cephfs_x/testdir if mntpt: self.test_set = [(x, y.replace(mntpt, ''), z) for x, y, z in \ self.test_set]