]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/pam: Need shadow installed for the tests
authorKhem Raj <raj.khem@gmail.com>
Thu, 25 Feb 2021 23:29:16 +0000 (15:29 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 27 Feb 2021 22:40:36 +0000 (22:40 +0000)
commit0820aeba74869bf6e85b200f39bc610a43ab9a7a
tree5e5ff87b50b468af14fe44985310eafddb342816
parentf3930cba16ccbc4b76ed14187d5586d6479bc59e
oeqa/pam: Need shadow installed for the tests

Distros may not use shadow for login manager
secondly login --help returns 1 only with shadow provided login
utility, with busybox it returns normal 0, the testcase clearly
assumes shadow being part of image, therefore add needed
checks to ensure the pre-requisites are met

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/pam.py