summaryrefslogtreecommitdiffstats
path: root/tests/acceptance
diff options
context:
space:
mode:
authorFilip Bozuta2019-12-06 14:58:04 +0100
committerAleksandar Markovic2019-12-16 13:08:17 +0100
commitdbd07eda9d8366a8a49954e515c995f27313fddc (patch)
treed046978f656f39eb63eaa9c26e52ad8af81f8600 /tests/acceptance
parentmips: jazz: Renovate coding style (diff)
downloadqemu-dbd07eda9d8366a8a49954e515c995f27313fddc.tar.gz
qemu-dbd07eda9d8366a8a49954e515c995f27313fddc.tar.xz
qemu-dbd07eda9d8366a8a49954e515c995f27313fddc.zip
mips: malta: Renovate coding style
The script checkpatch.pl located in scripts folder was used to detect all errors and warrnings in files: hw/mips/mips_malta.c hw/mips/gt64xxx_pci.c tests/acceptance/linux_ssh_mips_malta.py All these mips malta machine files were edited and all the errors and warrings generated by the checkpatch.pl script were corrected and then the script was ran again to make sure there are no more errors and warnings. Signed-off-by: Filip Bozuta <Filip.Bozuta@rt-rk.com> Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com> Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com> Message-Id: <1575640687-20744-3-git-send-email-Filip.Bozuta@rt-rk.com>
Diffstat (limited to 'tests/acceptance')
-rw-r--r--tests/acceptance/linux_ssh_mips_malta.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/acceptance/linux_ssh_mips_malta.py b/tests/acceptance/linux_ssh_mips_malta.py
index fc13f9e4d4..4db18de800 100644
--- a/tests/acceptance/linux_ssh_mips_malta.py
+++ b/tests/acceptance/linux_ssh_mips_malta.py
@@ -99,10 +99,12 @@ class LinuxSSH(Test):
def ssh_command(self, command, is_root=True):
self.ssh_logger.info(command)
result = self.ssh_session.cmd(command)
- stdout_lines = [line.rstrip() for line in result.stdout_text.splitlines()]
+ stdout_lines = [line.rstrip() for line
+ in result.stdout_text.splitlines()]
for line in stdout_lines:
self.ssh_logger.info(line)
- stderr_lines = [line.rstrip() for line in result.stderr_text.splitlines()]
+ stderr_lines = [line.rstrip() for line
+ in result.stderr_text.splitlines()]
for line in stderr_lines:
self.ssh_logger.warning(line)
return stdout_lines, stderr_lines