stripped off trailing newline from system_output on server side.
Signed-off-by: Travis Miller <raphtee@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1238 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/utils.py b/server/utils.py
index 5774fdc..3c673b1 100644
--- a/server/utils.py
+++ b/server/utils.py
@@ -289,7 +289,9 @@
def system_output(command, timeout=None, ignore_status=False):
- return run(command, timeout, ignore_status).stdout
+ out = run(command, timeout, ignore_status).stdout
+ if out[-1:] == '\n': out = out[:-1]
+ return out
def get_tmp_dir():