diff options
author | Armin Kuster <akuster808@gmail.com> | 2019-01-30 07:16:36 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-31 23:23:27 +0000 |
commit | 1a4d265ac043acd7a72919599f7e940ba6fb2dcf (patch) | |
tree | ba89b96114b823b628deaeb1a9fd8584f6dc3f88 /meta/lib/oeqa | |
parent | 192a5474a9e7c8c7c0d6284c7f4e3fbe42c5fae2 (diff) | |
download | poky-1a4d265ac043acd7a72919599f7e940ba6fb2dcf.tar.gz |
perl: add testdepends for ssh
fixes:
DEBUG: [Running]$ ssh -l root -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR 192.168.7.4 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; perl -e '$_="Uryyb, jbeyq"; tr/a-zA-Z/n-za-mN-ZA-M/;print'
| DEBUG: time: 1548816904.4024463, endtime: 1548817204.397057
| DEBUG: Partial data from SSH call: ssh: connect to host 192.168.7.4 port 22: Connection refused
for master/thud/sumo
(From OE-Core rev: a590e7805e3bec5dd995f7ea0b9e79a21f82b48b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/runtime/cases/perl.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/cases/perl.py b/meta/lib/oeqa/runtime/cases/perl.py index afeeb180e2..be3287f226 100644 --- a/meta/lib/oeqa/runtime/cases/perl.py +++ b/meta/lib/oeqa/runtime/cases/perl.py | |||
@@ -1,11 +1,13 @@ | |||
1 | import os | 1 | import os |
2 | 2 | ||
3 | from oeqa.runtime.case import OERuntimeTestCase | 3 | from oeqa.runtime.case import OERuntimeTestCase |
4 | from oeqa.core.decorator.depends import OETestDepends | ||
4 | from oeqa.core.decorator.oeid import OETestID | 5 | from oeqa.core.decorator.oeid import OETestID |
5 | from oeqa.runtime.decorator.package import OEHasPackage | 6 | from oeqa.runtime.decorator.package import OEHasPackage |
6 | 7 | ||
7 | class PerlTest(OERuntimeTestCase): | 8 | class PerlTest(OERuntimeTestCase): |
8 | @OETestID(208) | 9 | @OETestID(208) |
10 | @OETestDepends(['ssh.SSHTest.test_ssh']) | ||
9 | @OEHasPackage(['perl']) | 11 | @OEHasPackage(['perl']) |
10 | def test_perl_works(self): | 12 | def test_perl_works(self): |
11 | status, output = self.target.run("perl -e '$_=\"Uryyb, jbeyq\"; tr/a-zA-Z/n-za-mN-ZA-M/;print'") | 13 | status, output = self.target.run("perl -e '$_=\"Uryyb, jbeyq\"; tr/a-zA-Z/n-za-mN-ZA-M/;print'") |