yeah I realized that it should be rather skipped when shadow and shadow-base is missing in image sent a v2
On Thu, Feb 25, 2021 at 1:45 PM Richard Purdie <[email protected]> wrote: > > On Thu, 2021-02-25 at 13:17 -0800, Khem Raj wrote: > > Distros may not use shadow for login manager > > secondly login --help return 0 not 1 so adjust the check accordingly > > > > Signed-off-by: Khem Raj <[email protected]> > > --- > > meta/lib/oeqa/runtime/cases/pam.py | 12 ++++++------ > > 1 file changed, 6 insertions(+), 6 deletions(-) > > > > diff --git a/meta/lib/oeqa/runtime/cases/pam.py > > b/meta/lib/oeqa/runtime/cases/pam.py > > index 271a1943e3..a61b5a881e 100644 > > --- a/meta/lib/oeqa/runtime/cases/pam.py > > +++ b/meta/lib/oeqa/runtime/cases/pam.py > > @@ -17,7 +17,7 @@ class PamBasicTest(OERuntimeTestCase): > > status, output = self.target.run('login --help') > > msg = ('login command does not work as expected. ' > > 'Status and output:%s and %s' % (status, output)) > > - self.assertEqual(status, 1, msg = msg) > > + self.assertEqual(status, 0, msg = msg) > > Surely just changing the exit status to the opposite will cause the > autobuilder to fail this instead? > > Cheers, > > Richard >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#148631): https://lists.openembedded.org/g/openembedded-core/message/148631 Mute This Topic: https://lists.openembedded.org/mt/80912846/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
