Make utils.system() print to stdout / stderr as intended
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1139 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/utils.py b/server/utils.py
index d3217c4..94b9c69 100644
--- a/server/utils.py
+++ b/server/utils.py
@@ -252,7 +252,8 @@
def system(command, timeout=None, ignore_status=False):
- return run(command, timeout, ignore_status).exit_status
+ return run(command, timeout, ignore_status,
+ stdout_tee=sys.stdout, stderr_tee=sys.stderr).exit_status
def system_output(command, timeout=None, ignore_status=False):