summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/runtime/cases/ssh.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/runtime/cases/ssh.py b/meta/lib/oeqa/runtime/cases/ssh.py
index 9a8deb3f25..08430ae9db 100644
--- a/meta/lib/oeqa/runtime/cases/ssh.py
+++ b/meta/lib/oeqa/runtime/cases/ssh.py
@@ -16,7 +16,7 @@ class SSHTest(OERuntimeTestCase):
16 @OETestDepends(['ping.PingTest.test_ping']) 16 @OETestDepends(['ping.PingTest.test_ping'])
17 @OEHasPackage(['dropbear', 'openssh-sshd']) 17 @OEHasPackage(['dropbear', 'openssh-sshd'])
18 def test_ssh(self): 18 def test_ssh(self):
19 for i in range(5): 19 for i in range(10):
20 status, output = self.target.run("uname -a", timeout=5) 20 status, output = self.target.run("uname -a", timeout=5)
21 if status == 0: 21 if status == 0:
22 break 22 break
@@ -33,5 +33,5 @@ class SSHTest(OERuntimeTestCase):
33 continue 33 continue
34 else: 34 else:
35 self.fail("uname failed with \"%s\" (exit code %s)" % (output, status)) 35 self.fail("uname failed with \"%s\" (exit code %s)" % (output, status))
36 if status == 255: 36 if status != 0:
37 self.fail("ssh error %s" %output) 37 self.fail("ssh failed with \"%s\" (exit code %s)" % (output, status))