]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test_cephfs_shell: initialize stderr for run_cephfs_shell_cmd() 31626/head
authorRishabh Dave <ridave@redhat.com>
Wed, 13 Nov 2019 13:22:18 +0000 (18:52 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 14 Nov 2019 08:24:14 +0000 (13:54 +0530)
commitbafef71e49c62f221ce421ac51b2b74c90afea34
tree39d481a2a4be6e1f33958f0b83943a5a5deafad5
parentc35b2c3a2077ef7d7c0aff98762bcf3eb52f82c9
test_cephfs_shell: initialize stderr for run_cephfs_shell_cmd()

Since teuthology initializes stderr to None by default, absence of this
breaks the tests accessing stderr of commands executed within the test
when the execution is using teuthology.

Fixes: https://tracker.ceph.com/issues/42806
Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/test_cephfs_shell.py