oeqa runtime ima.py: skip without "integrity" in DISTRO_FEATURES

ima and meta-integrity are not enabled without and the test fails.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Mikko Rapeli
2024-12-20 16:04:41 +02:00
committed by Armin Kuster
parent 08c712d672
commit 1f7cc51443

View File

@@ -27,6 +27,7 @@ class IMACheck(OERuntimeTestCase):
@OETestDepends(['ssh.SSHTest.test_ssh']) @OETestDepends(['ssh.SSHTest.test_ssh'])
@skipIfNotFeature('integrity','Test requires "integrity" in DISTRO_FEATURES')
def test_ima_enabled(self): def test_ima_enabled(self):
''' Test if IMA policy is loaded before systemd starts''' ''' Test if IMA policy is loaded before systemd starts'''