@@ -54,29 +54,6 @@ VIRTUAL-RUNTIME_init_manager = "systemd"
self.fileExists("{D}{systemd_system_unitdir}/{BPN}.service")
self.fileNotExists("{D}{sysconfdir}")
- def test_systemd_and_sysvinit_in_distro(self):
- """
- Summary: Verify that both systemd and sysvinit files are installed
- when both the systemd and sysvinit distro features are
- enabled.
- Expected: Systemd service file and sysvinit initscript exist.
- Product: OE-Core
- Author: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
- """
-
- self.write_config("""
-DISTRO_FEATURES:append = " systemd sysvinit usrmerge"
-VIRTUAL-RUNTIME_init_manager = "systemd"
-""")
- bitbake("systemd-only systemd-and-sysvinit -c install")
-
- self.getVars("systemd-only")
- self.fileExists("{D}{systemd_system_unitdir}/{BPN}.service")
-
- self.getVars("systemd-and-sysvinit")
- self.fileExists("{D}{systemd_system_unitdir}/{BPN}.service")
- self.fileExists("{D}{INIT_D_DIR}/{BPN}")
-
def test_sysvinit_in_distro(self):
"""
Summary: Verify that no systemd service files are installed when the
This configuration is no longer possible with recent systemd changes, drop the test. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/lib/oeqa/selftest/cases/bbclasses.py | 23 ----------------------- 1 file changed, 23 deletions(-)