checksec: add missing rdepends to readelf

update test to check for depends

Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Armin Kuster
2019-10-14 22:35:58 -07:00
parent 0e612d4c4d
commit c55721b15e
2 changed files with 2 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ class CheckSecTest(OERuntimeTestCase):
self.assertEqual(status, 0, msg = msg)
@OETestDepends(['checksec.CheckSecTest.test_checksec_xml'])
@OEHasPackage(['binutils'])
def test_checksec_fortify(self):
status, output = self.target.run('checksec --fortify-proc 1')
match = re.search('FORTIFY_SOURCE support:', output)

View File

@@ -16,4 +16,4 @@ do_install() {
install -m 0755 ${S}/checksec ${D}${bindir}
}
RDEPENDS_${PN} = "bash openssl-bin"
RDEPENDS_${PN} = "bash openssl-bin binutils"