]> 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>
Wed, 10 Mar 2021 00:24:18 +0000 (00:24 +0000)
commit0535f0bbc792a5124a375e087a3a5b0c27c19456
tree6118f8cdb87175aaadbb26ec9c35b265a71d8113
parent34a263ec94a7b5e095b02c2fe272318923d6850b
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: Anuj Mittal <anuj.mittal@intel.com>
meta/lib/oeqa/runtime/cases/pam.py