]> 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)
committerSteve Sakoman <steve@sakoman.com>
Thu, 11 Mar 2021 15:00:02 +0000 (05:00 -1000)
commit0ac2dee8756573a793af56582565f221ff6b93c5
tree3f226b4c3fc1429ecccef57e87731166c39abcba
parent280bf295a12b49a1d5199d86da6641516df0ce6a
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>
(cherry picked from commit 0820aeba74869bf6e85b200f39bc610a43ab9a7a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oeqa/runtime/cases/pam.py