diff options
Diffstat (limited to 'meta/lib')
| -rw-r--r-- | meta/lib/oeqa/runtime/cases/pam.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/cases/pam.py b/meta/lib/oeqa/runtime/cases/pam.py index 271a1943e3..a482ded945 100644 --- a/meta/lib/oeqa/runtime/cases/pam.py +++ b/meta/lib/oeqa/runtime/cases/pam.py | |||
| @@ -8,11 +8,14 @@ | |||
| 8 | from oeqa.runtime.case import OERuntimeTestCase | 8 | from oeqa.runtime.case import OERuntimeTestCase |
| 9 | from oeqa.core.decorator.depends import OETestDepends | 9 | from oeqa.core.decorator.depends import OETestDepends |
| 10 | from oeqa.core.decorator.data import skipIfNotFeature | 10 | from oeqa.core.decorator.data import skipIfNotFeature |
| 11 | from oeqa.runtime.decorator.package import OEHasPackage | ||
| 11 | 12 | ||
| 12 | class PamBasicTest(OERuntimeTestCase): | 13 | class PamBasicTest(OERuntimeTestCase): |
| 13 | 14 | ||
| 14 | @skipIfNotFeature('pam', 'Test requires pam to be in DISTRO_FEATURES') | 15 | @skipIfNotFeature('pam', 'Test requires pam to be in DISTRO_FEATURES') |
| 15 | @OETestDepends(['ssh.SSHTest.test_ssh']) | 16 | @OETestDepends(['ssh.SSHTest.test_ssh']) |
| 17 | @OEHasPackage(['shadow']) | ||
| 18 | @OEHasPackage(['shadow-base']) | ||
| 16 | def test_pam(self): | 19 | def test_pam(self): |
| 17 | status, output = self.target.run('login --help') | 20 | status, output = self.target.run('login --help') |
| 18 | msg = ('login command does not work as expected. ' | 21 | msg = ('login command does not work as expected. ' |
