]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test_cephfs_shell: add a method to get command output
authorRishabh Dave <ridave@redhat.com>
Wed, 17 Jul 2019 10:56:29 +0000 (16:26 +0530)
committerRishabh Dave <ridave@redhat.com>
Fri, 13 Sep 2019 05:14:59 +0000 (10:44 +0530)
commitd3f895f44ac00afee60de8833180bcf675a0c596
tree65e9ad8dcfc00b11e2c543b3aa2479a48cf952d9
parentf0723d200c88816d54ea57c742a2377e4c813707
test_cephfs_shell: add a method to get command output

Let run_cephfs_shell_cmd() return the object instead of output in string
format so that stderr, return value, etc. of the command executed
remain available. And add a new method that returns only output of the
CephFS shell command executed.

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