diff mbox series

[1/2] oeqa/selftest/bbclasses: Drop systemd+sysvinit test

Message ID 20260216084649.2127586-1-richard.purdie@linuxfoundation.org
State New
Headers show
Series [1/2] oeqa/selftest/bbclasses: Drop systemd+sysvinit test | expand

Commit Message

Richard Purdie Feb. 16, 2026, 8:46 a.m. UTC
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(-)
diff mbox series

Patch

diff --git a/meta/lib/oeqa/selftest/cases/bbclasses.py b/meta/lib/oeqa/selftest/cases/bbclasses.py
index 10545ebe658..8595bb5d6f1 100644
--- a/meta/lib/oeqa/selftest/cases/bbclasses.py
+++ b/meta/lib/oeqa/selftest/cases/bbclasses.py
@@ -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