aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-03-16 15:19:06 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-17 11:55:24 +0000
commite53b93181ea1723ddeeb75c4195e9412e64721c0 (patch)
treeb46ac12b721547cfccbad21c3526aa6b96c7b298
parentf30c1653cc5ef9daf594cbd3faad329b9fa08ab7 (diff)
downloadopenembedded-core-contrib-e53b93181ea1723ddeeb75c4195e9412e64721c0.zip
openembedded-core-contrib-e53b93181ea1723ddeeb75c4195e9412e64721c0.tar.gz
openembedded-core-contrib-e53b93181ea1723ddeeb75c4195e9412e64721c0.tar.bz2
selftest/signing.py: verify that images can be created from signed packages
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/signing.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/signing.py b/meta/lib/oeqa/selftest/signing.py
index ba44c79..c1dd801 100644
--- a/meta/lib/oeqa/selftest/signing.py
+++ b/meta/lib/oeqa/selftest/signing.py
@@ -34,8 +34,10 @@ class Signing(oeSelfTest):
"""
Summary: Test that packages can be signed in the package feed
Expected: Package should be signed with the correct key
+ Expected: Images can be created from signed packages
Product: oe-core
Author: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
+ Author: Alexander Kanavin <alexander.kanavin@intel.com>
AutomatedBy: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
"""
import oe.packagedata
@@ -85,6 +87,12 @@ class Signing(oeSelfTest):
self.assertIn('rsa sha1 (md5) pgp md5 OK', ret.output, 'Package signed incorrectly.')
shutil.rmtree(rpmdb)
+ #Check that an image can be built from signed packages
+ self.add_command_to_tearDown('bitbake -c clean core-image-minimal')
+ bitbake('-c clean core-image-minimal')
+ bitbake('core-image-minimal')
+
+
@testcase(1382)
def test_signing_sstate_archive(self):
"""