diff options
author | Armin Kuster <akuster808@gmail.com> | 2019-10-14 22:35:58 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-10-14 22:45:18 -0700 |
commit | c55721b15e85d8e103f54ff5d2722a106a91f3eb (patch) | |
tree | 7f03536af45cd03c9dde6d12289690c62ab7c08d /lib | |
parent | 0e612d4c4d4411b3396ba3b4a7bcb29ec5a87258 (diff) | |
download | meta-security-c55721b15e85d8e103f54ff5d2722a106a91f3eb.tar.gz |
checksec: add missing rdepends to readelf
update test to check for depends
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oeqa/runtime/cases/checksec.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oeqa/runtime/cases/checksec.py b/lib/oeqa/runtime/cases/checksec.py index ff6d2f3..e46744c 100644 --- a/lib/oeqa/runtime/cases/checksec.py +++ b/lib/oeqa/runtime/cases/checksec.py | |||
@@ -24,6 +24,7 @@ class CheckSecTest(OERuntimeTestCase): | |||
24 | self.assertEqual(status, 0, msg = msg) | 24 | self.assertEqual(status, 0, msg = msg) |
25 | 25 | ||
26 | @OETestDepends(['checksec.CheckSecTest.test_checksec_xml']) | 26 | @OETestDepends(['checksec.CheckSecTest.test_checksec_xml']) |
27 | @OEHasPackage(['binutils']) | ||
27 | def test_checksec_fortify(self): | 28 | def test_checksec_fortify(self): |
28 | status, output = self.target.run('checksec --fortify-proc 1') | 29 | status, output = self.target.run('checksec --fortify-proc 1') |
29 | match = re.search('FORTIFY_SOURCE support:', output) | 30 | match = re.search('FORTIFY_SOURCE support:', output) |