]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/cephfs/test_nfs: fix export create test
authorSage Weil <sage@newdream.net>
Tue, 1 Jun 2021 17:39:03 +0000 (13:39 -0400)
committerSebastian Wagner <sewagner@redhat.com>
Thu, 9 Sep 2021 14:17:44 +0000 (16:17 +0200)
Everything after --readonly is non-positional.

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 8683cccd06077bfbfd39e9e5ca3750078937dc0e)

qa/tasks/cephfs/test_nfs.py

index c3feb1604c9251562825b7b694d027dcf12d554b..f93d3053b67771b71313dc8f872a8a07797c8eec 100644 (file)
@@ -350,7 +350,8 @@ class TestNFS(MgrTestCase):
         # 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