[oe-commits] [openembedded-core] 03/22: selftest/signing.py: verify that images can be created from signed packages
git at git.openembedded.org
git at git.openembedded.org
Thu Mar 16 16:06:23 UTC 2017
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 3db08e030d8330ecf7dee86ea47a6f2c41d64c73
Author: Alexander Kanavin <alexander.kanavin at linux.intel.com>
AuthorDate: Thu Mar 16 15:19:06 2017 +0200
selftest/signing.py: verify that images can be created from signed packages
Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oeqa/selftest/signing.py | 8 ++++++++
1 file changed, 8 insertions(+)
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 at intel.com>
+ Author: Alexander Kanavin <alexander.kanavin at intel.com>
AutomatedBy: Daniel Istrate <daniel.alexandrux.istrate at 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):
"""
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list