mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-12 03:10:13 +00:00
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:
@@ -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)
|
||||
|
||||
@@ -16,4 +16,4 @@ do_install() {
|
||||
install -m 0755 ${S}/checksec ${D}${bindir}
|
||||
}
|
||||
|
||||
RDEPENDS_${PN} = "bash openssl-bin"
|
||||
RDEPENDS_${PN} = "bash openssl-bin binutils"
|
||||
|
||||
Reference in New Issue
Block a user