From 4d95517df3bc5f7680889303d5609f922c8f0c89 Mon Sep 17 00:00:00 2001 From: Xiubo Li Date: Wed, 11 Mar 2020 01:50:12 -0400 Subject: [PATCH] qa/tasks/vstart_runner: fix sh to make it compatible with teth Fixes: https://tracker.ceph.com/issues/44555 Signed-off-by: Xiubo Li --- qa/tasks/vstart_runner.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- 2.47.3