commit d7189d9efe8d602de66143d57f9357da408866d6 Author: Radek Pazdera rpazdera@redhat.com Date: Wed Aug 1 13:28:00 2012 +0200
multicast: Disable logging output of exec_cmd
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@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 = {}
lnst-developers@lists.fedorahosted.org