summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-01-29 19:24:13 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-25 22:27:46 +0000
commitf663c39ce25b4a4775aa65e6ac0f5b2e18e9d767 (patch)
tree77413e1465420b8e452b58aaa45891f0b1a95b27 /meta
parent5a8fcc4d0cb42e0766d877a259342ebf08430e6c (diff)
downloadpoky-f663c39ce25b4a4775aa65e6ac0f5b2e18e9d767.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: 76c66e061cdcdcbad73ed503668115120feb0ea3) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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'")