Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
---
client/bin/base_utils.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/client/bin/base_utils.py b/client/bin/base_utils.py
index 2a14e76..0463a4f 100644
--- a/client/bin/base_utils.py
+++ b/client/bin/base_utils.py
@@ -732,9 +732,10 @@ def ping_default_gateway():
def drop_caches():
"""Writes back all dirty pages to disk and clears all the caches."""
- utils.system("sync")
+ utils.run("sync", verbose=False)
# We ignore failures here as this will fail on 2.6.11 kernels.
- utils.system("echo 3 > /proc/sys/vm/drop_caches", ignore_status=True)
+ utils.run("echo 3 > /proc/sys/vm/drop_caches", ignore_status=True,
+ verbose=False)
def process_is_alive(name_pattern):
--
1.7.7.1
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest