[PATCH] multicast: Disable logging output of exec_cmd

rpazdera at redhat.com rpazdera at redhat.com
Wed Aug 1 11:28:00 UTC 2012


From: Radek Pazdera <rpazdera at redhat.com>

This commit disables logging of exec_cmd in TestMulticast.py.

The first one does compilation of the test tools which only polutes
the messages and the second exec's output is processed further and
written to log after the processing.

Signed-off-by: Radek Pazdera <rpazdera at redhat.com>
---
 Tests/TestMulticast.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Tests/TestMulticast.py b/Tests/TestMulticast.py
index 5e2df5b..860608a 100644
--- a/Tests/TestMulticast.py
+++ b/Tests/TestMulticast.py
@@ -108,10 +108,11 @@ class TestMulticast(TestGeneric):
         setup_name = self.get_mopt("setup")
         logging.info("Started Multicast test setup {0}".format(setup_name))
 
-        exec_cmd("cd " + self._tools_location + " && make")
+        exec_cmd("cd " + self._tools_location + " && make",
+                    log_outputs=False)
 
         cmd = self._compose_cmd()
-        data_stdout = exec_cmd(cmd, die_on_err=False)[0]
+        data_stdout = exec_cmd(cmd, die_on_err=False, log_outputs=False)[0]
 
         res = {}
 
-- 
1.7.7.6



More information about the LNST-developers mailing list