From: Xiubo Li Date: Wed, 11 Mar 2020 05:50:12 +0000 (-0400) Subject: qa/tasks/vstart_runner: fix sh to make it compatible with teth X-Git-Tag: v16.1.0~2774^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F33873%2Fhead;p=ceph.git qa/tasks/vstart_runner: fix sh to make it compatible with teth Fixes: https://tracker.ceph.com/issues/44555 Signed-off-by: Xiubo Li --- diff --git a/qa/tasks/vstart_runner.py b/qa/tasks/vstart_runner.py index ccc706b922b..0d5cef19ac1 100644 --- a/qa/tasks/vstart_runner.py +++ b/qa/tasks/vstart_runner.py @@ -389,7 +389,9 @@ class LocalRemote(object): return proc - def sh(self, command, log_limit=1024, cwd=None, env=None): + def sh(self, command, log_limit=1024, cwd=None, env=None, **kwargs): + if isinstance(command, list): + command=' '.join(command) return misc.sh(command=command, log_limit=log_limit, cwd=cwd, env=env)