From 4e65d305b9053731f1242465ad44dd2826f5ec86 Mon Sep 17 00:00:00 2001 From: Dhairya Parmar Date: Wed, 26 Apr 2023 13:21:28 +0530 Subject: [PATCH] qa: fix test_nfs_export_creation_at_symlink Signed-off-by: Dhairya Parmar (cherry picked from commit 7a6ab315bb802abad5ca0813605f4cec7c82f185) --- qa/tasks/cephfs/test_nfs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qa/tasks/cephfs/test_nfs.py b/qa/tasks/cephfs/test_nfs.py index b77660fd5f38e..c144005206c21 100644 --- a/qa/tasks/cephfs/test_nfs.py +++ b/qa/tasks/cephfs/test_nfs.py @@ -846,14 +846,14 @@ class TestNFS(MgrTestCase): preserve_mode = self._sys_cmd(['stat', '-c', '%a', mnt_pt]) self._create_cluster_with_fs(self.fs_name, mnt_pt) self.ctx.cluster.run(args=['mkdir', f'{mnt_pt}/testdir']) - self.ctx.cluster.run(args=['ln', '-s', 'testdir', 'testdir_symlink'], - cwd=f'{mnt_pt}') + self.ctx.cluster.run(args=['ln', '-s', f'{mnt_pt}/testdir', + f'{mnt_pt}/testdir_symlink']) try: self._create_export(export_id='123', extra_cmd=['--pseudo-path', self.pseudo_path, '--path', - f'{mnt_pt}/testdir_symlink']) + '/testdir_symlink']) except CommandFailedError as e: if e.exitstatus != errno.ENOTDIR: raise -- 2.39.5