diff options
Diffstat (limited to 'meta/lib/oeqa/runtime/cases/ssh.py')
| -rw-r--r-- | meta/lib/oeqa/runtime/cases/ssh.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/cases/ssh.py b/meta/lib/oeqa/runtime/cases/ssh.py index 13aac54396..cdbef59500 100644 --- a/meta/lib/oeqa/runtime/cases/ssh.py +++ b/meta/lib/oeqa/runtime/cases/ssh.py | |||
| @@ -13,6 +13,9 @@ class SSHTest(OERuntimeTestCase): | |||
| 13 | @OETestDepends(['ping.PingTest.test_ping']) | 13 | @OETestDepends(['ping.PingTest.test_ping']) |
| 14 | @OEHasPackage(['dropbear', 'openssh-sshd']) | 14 | @OEHasPackage(['dropbear', 'openssh-sshd']) |
| 15 | def test_ssh(self): | 15 | def test_ssh(self): |
| 16 | (status, output) = self.target.run('sleep 20', timeout=2) | ||
| 17 | msg='run() timed out but return code was zero.' | ||
| 18 | self.assertNotEqual(status, 0, msg=msg) | ||
| 16 | (status, output) = self.target.run('uname -a') | 19 | (status, output) = self.target.run('uname -a') |
| 17 | self.assertEqual(status, 0, msg='SSH Test failed: %s' % output) | 20 | self.assertEqual(status, 0, msg='SSH Test failed: %s' % output) |
| 18 | (status, output) = self.target.run('cat /etc/controllerimage') | 21 | (status, output) = self.target.run('cat /etc/controllerimage') |
