qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 11/22] tests/acceptance/linux_ssh_mips_malta.py: standardize port


From: Cleber Rosa
Subject: [PATCH 11/22] tests/acceptance/linux_ssh_mips_malta.py: standardize port as integer
Date: Wed, 3 Feb 2021 12:23:46 -0500

Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
 tests/acceptance/linux_ssh_mips_malta.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/acceptance/linux_ssh_mips_malta.py 
b/tests/acceptance/linux_ssh_mips_malta.py
index 275659c785..ab6cb94aef 100644
--- a/tests/acceptance/linux_ssh_mips_malta.py
+++ b/tests/acceptance/linux_ssh_mips_malta.py
@@ -79,8 +79,8 @@ class LinuxSSH(Test):
         port = get_info_usernet_hostfwd_port(res)
         if not port:
             self.cancel("Failed to retrieve SSH port")
-        self.log.debug("sshd listening on port:" + port)
-        self.ssh_session = ssh.Session(self.VM_IP, port=int(port),
+        self.log.debug("sshd listening on port: %d", port)
+        self.ssh_session = ssh.Session(self.VM_IP, port=port,
                                        user=username, password=password)
         for i in range(10):
             try:
-- 
2.25.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]