diff options
author | Ross Burton <ross.burton@intel.com> | 2017-09-29 17:10:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-04 17:14:25 +0000 |
commit | cb20382d85f5758ac9fb7cd7df085d07005f1337 (patch) | |
tree | 319e687ae31f489d6103ff62ecd8fe2cce7f96f6 /meta | |
parent | 8d5eb5498975fd0d73ac20e2c4d938c1f85317d7 (diff) | |
download | openembedded-core-cb20382d85f5758ac9fb7cd7df085d07005f1337.tar.gz |
selftest/imagefeatures: add basic test for useradd-staticids
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/imagefeatures.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/imagefeatures.py b/meta/lib/oeqa/selftest/cases/imagefeatures.py index 1a850008ef..2ca66d0cf3 100644 --- a/meta/lib/oeqa/selftest/cases/imagefeatures.py +++ b/meta/lib/oeqa/selftest/cases/imagefeatures.py @@ -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") |