mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
selftest/imagefeatures: add basic test for useradd-staticids
(From OE-Core rev: cb20382d85f5758ac9fb7cd7df085d07005f1337) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
55d21c7fb6
commit
dd03b7399b
@@ -226,3 +226,13 @@ class ImageFeatures(OESelftestTestCase):
|
||||
# check if result image is in deploy directory
|
||||
self.assertTrue(os.path.exists(image_path),
|
||||
"%s image %s doesn't exist" % (itype, image_path))
|
||||
|
||||
def test_useradd_static(self):
|
||||
config = """
|
||||
USERADDEXTENSION = "useradd-staticids"
|
||||
USERADD_ERROR_DYNAMIC = "skip"
|
||||
USERADD_UID_TABLES += "files/static-passwd"
|
||||
USERADD_GID_TABLES += "files/static-group"
|
||||
"""
|
||||
self.write_config(config)
|
||||
bitbake("core-image-base")
|
||||
|
||||
Reference in New Issue
Block a user