diff options
Diffstat (limited to 'meta/lib/oeqa/runtime/cases/skeletoninit.py')
| -rw-r--r-- | meta/lib/oeqa/runtime/cases/skeletoninit.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/lib/oeqa/runtime/cases/skeletoninit.py b/meta/lib/oeqa/runtime/cases/skeletoninit.py index 4779cd6bb4..be7b39a9a3 100644 --- a/meta/lib/oeqa/runtime/cases/skeletoninit.py +++ b/meta/lib/oeqa/runtime/cases/skeletoninit.py | |||
| @@ -1,10 +1,11 @@ | |||
| 1 | # | 1 | # |
| 2 | # Copyright OpenEmbedded Contributors | ||
| 3 | # | ||
| 2 | # SPDX-License-Identifier: MIT | 4 | # SPDX-License-Identifier: MIT |
| 3 | # | 5 | # |
| 4 | 6 | ||
| 5 | # This test should cover https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=284 | 7 | # Image under test must have meta-skeleton layer in bblayers and |
| 6 | # testcase. Image under test must have meta-skeleton layer in bblayers and | 8 | # IMAGE_INSTALL:append = " service" in local.conf |
| 7 | # IMAGE_INSTALL_append = " service" in local.conf | ||
| 8 | from oeqa.runtime.case import OERuntimeTestCase | 9 | from oeqa.runtime.case import OERuntimeTestCase |
| 9 | from oeqa.core.decorator.depends import OETestDepends | 10 | from oeqa.core.decorator.depends import OETestDepends |
| 10 | from oeqa.core.decorator.data import skipIfDataVar | 11 | from oeqa.core.decorator.data import skipIfDataVar |
| @@ -15,7 +16,7 @@ class SkeletonBasicTest(OERuntimeTestCase): | |||
| 15 | @OETestDepends(['ssh.SSHTest.test_ssh']) | 16 | @OETestDepends(['ssh.SSHTest.test_ssh']) |
| 16 | @OEHasPackage(['service']) | 17 | @OEHasPackage(['service']) |
| 17 | @skipIfDataVar('VIRTUAL-RUNTIME_init_manager', 'systemd', | 18 | @skipIfDataVar('VIRTUAL-RUNTIME_init_manager', 'systemd', |
| 18 | 'Not appropiate for systemd image') | 19 | 'Not appropriate for systemd image') |
| 19 | def test_skeleton_availability(self): | 20 | def test_skeleton_availability(self): |
| 20 | status, output = self.target.run('ls /etc/init.d/skeleton') | 21 | status, output = self.target.run('ls /etc/init.d/skeleton') |
| 21 | msg = 'skeleton init script not found. Output:\n%s' % output | 22 | msg = 'skeleton init script not found. Output:\n%s' % output |
