]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test_cephfs_shell: allow cmd as list too
authorRishabh Dave <ridave@redhat.com>
Wed, 24 Jul 2019 07:02:07 +0000 (12:32 +0530)
committerRishabh Dave <ridave@redhat.com>
Fri, 13 Sep 2019 05:14:39 +0000 (10:44 +0530)
commitf0723d200c88816d54ea57c742a2377e4c813707
treea09468bc1835ec269f8ea16dded382ca2c859214
parente6f3bf8ccdbc528321d823efd9f886fdf0b45a49
test_cephfs_shell: allow cmd as list too

Convert cmd to string if it is passed as list to
run_cephfs_shell_cmd(). Allowing cmd to be list would be nice since
elsewhere, in tests, command to be executed must be a list of arguments
rather than string of arguments separated by spaces.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/test_cephfs_shell.py