summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-01-30 07:16:36 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-25 22:27:39 +0000
commita9b4266f62393c8ab428450ef04e927e6cac1179 (patch)
tree7dfd29496fe63445abfc342afdc67b4ba2f0fb6c /meta/lib
parentf1c7d5d719365448c7cd43e699b3449488fd3bd8 (diff)
downloadpoky-a9b4266f62393c8ab428450ef04e927e6cac1179.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) (From OE-Core rev: 7dbccf13493dad534c0cc604bc4c5ab16e5f0fc0) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/runtime/cases/perl.py2
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 @@
1import os 1import os
2 2
3from oeqa.runtime.case import OERuntimeTestCase 3from oeqa.runtime.case import OERuntimeTestCase
4from oeqa.core.decorator.depends import OETestDepends
4from oeqa.core.decorator.oeid import OETestID 5from oeqa.core.decorator.oeid import OETestID
5from oeqa.runtime.decorator.package import OEHasPackage 6from oeqa.runtime.decorator.package import OEHasPackage
6 7
7class PerlTest(OERuntimeTestCase): 8class 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'")