Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
---
client/bin/base_utils.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/client/bin/base_utils.py b/client/bin/base_utils.py
index 0463a4f..39c7475 100644
--- a/client/bin/base_utils.py
+++ b/client/bin/base_utils.py
@@ -336,7 +336,8 @@ def count_cpus():
# Returns total memory in kb
def read_from_meminfo(key):
- meminfo = utils.system_output('grep %s /proc/meminfo' % key)
+ cmd_result = utils.run('grep %s /proc/meminfo' % key, verbose=False)
+ meminfo = cmd_result.stdout
return int(re.search(r'\d+', meminfo).group(0))
--
1.7.7.1
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest