From 3a2cb37fdbe4e761ae649716f6f8f71feffdd608 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 3 Jan 2023 12:56:53 +0100 Subject: [PATCH] test: add Type=notify-reload testcase (cherry picked from commit ee52bbc68f129cfed833990906c0a0a77ee12c42) Related: RHEL-6090 --- test/units/testsuite-59.sh | 51 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/test/units/testsuite-59.sh b/test/units/testsuite-59.sh index 83db053107..475766a851 100755 --- a/test/units/testsuite-59.sh +++ b/test/units/testsuite-59.sh @@ -83,6 +83,57 @@ systemctl start testservice-abort-restart-59.service systemctl --signal=SIGABRT kill testservice-abort-restart-59.service wait_on_state_or_fail "testservice-abort-restart-59.service" "failed" "30" +# Let's now test the notify-reload logic + +cat >/run/notify-reload-test.sh </testok