diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-07-19 15:38:38 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-07-19 15:38:38 +0000 |
commit | e146706253b32bb5513e498c5703b32d8969ca17 (patch) | |
tree | eeef421cb047f00cf706d839fa0a2639d790ca1c /utils | |
parent | 40bbe6cd80940e3ed320dca8b8ac7917353b5fcd (diff) | |
parent | 6e46af35376e25ee58069f651e2ec5ff765d3a09 (diff) |
Merge "Show real time tempest test execution"
Diffstat (limited to 'utils')
-rw-r--r-- | utils/functest_utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/functest_utils.py b/utils/functest_utils.py index 9a19eb4ca..b51a1c868 100644 --- a/utils/functest_utils.py +++ b/utils/functest_utils.py @@ -244,7 +244,8 @@ def execute_command(cmd, logger=None, print(msg_exec) p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE) while True: - line = p.stdout.readline().replace('\n', '') + output = p.stdout.readline() + line = output.replace('\n', '') if not line: break if logger: |