aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-08-30 09:05:37 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-30 09:05:37 +0000
commita4be75300a5f10e2e7b33f34442459ed0b2c7060 (patch)
treecd5d530eb83931e55e5919ca4ab29e8fb0659384
parentfbe4b77d39e0520e2f34a81dae7010b0f01d2aa2 (diff)
parentc7edada4ccf84851b76b9ef738c270a7a6819a06 (diff)
Merge "Flush stdout as it can be redirected to log"
-rw-r--r--utils/functest_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/functest_utils.py b/utils/functest_utils.py
index 02e7d3d84..199088b9c 100644
--- a/utils/functest_utils.py
+++ b/utils/functest_utils.py
@@ -339,6 +339,7 @@ def execute_command(cmd, logger=None,
logger.debug(line)
else:
print line
+ sys.stdout.flush()
p.stdout.close()
returncode = p.wait()
if returncode != 0: