From d841944898c630c6d848e785f53fd2012db86639 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 1 Jun 2021 13:39:03 -0400 Subject: [PATCH] qa/tasks/cephfs/test_nfs: fix export create test Everything after --readonly is non-positional. Signed-off-by: Sage Weil --- qa/tasks/cephfs/test_nfs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qa/tasks/cephfs/test_nfs.py b/qa/tasks/cephfs/test_nfs.py index b6fcd33b492ba3..df3756a2198fc4 100644 --- a/qa/tasks/cephfs/test_nfs.py +++ b/qa/tasks/cephfs/test_nfs.py @@ -348,7 +348,8 @@ def test_create_multiple_exports(self): # Export-3 for subvolume with r only self._cmd('fs', 'subvolume', 'create', self.fs_name, 'sub_vol') fs_path = self._cmd('fs', 'subvolume', 'getpath', self.fs_name, 'sub_vol').strip() - self._create_export(export_id='3', extra_cmd=[self.pseudo_path+'2', '--readonly', fs_path]) + self._create_export(export_id='3', extra_cmd=[self.pseudo_path+'2', '--readonly', + '--path', fs_path]) # Export-4 for subvolume self._create_export(export_id='4', extra_cmd=[self.pseudo_path+'3', fs_path]) # Check if exports gets listed