From 9d1628f577c0fd5cbb63731ceb70e67409dbe3cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Ferr=C3=A3o?= <2031761+viniciusferrao@users.noreply.github.com> Date: Fri, 17 Jul 2026 20:24:17 -0300 Subject: [PATCH] test(packaging): verify systemd omits SysV init script (cherry picked from commit 185af5a3aa609e67c9a520644702e2b522ece8c7) --- xCAT-test/autotest/testcase/xcatd/case0 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/xCAT-test/autotest/testcase/xcatd/case0 b/xCAT-test/autotest/testcase/xcatd/case0 index d3788cfe2..e9f92e648 100644 --- a/xCAT-test/autotest/testcase/xcatd/case0 +++ b/xCAT-test/autotest/testcase/xcatd/case0 @@ -1,3 +1,11 @@ +start:xcatd_systemd_has_no_legacy_init_script +description:systemd installations do not retain the legacy xcatd init script +label:mn_only,ci_test,xcatd +cmd:test -d /run/systemd/system && test ! -f /etc/init.d/xcatd +check:rc==0 +end + + start:xcatd_start description:stop then start xcatd daemon, and check all the 6 processes are running label:mn_only,ci_test,xcatd