From: Zbigniew Jędrzejewski-Szmek Date: Thu, 24 Mar 2022 12:45:03 +0000 (+0100) Subject: TEST-68: instead of calling daemon-reload, just use different cleanup units X-Git-Tag: v251-rc1~39^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F22855%2Fhead;p=thirdparty%2Fsystemd.git TEST-68: instead of calling daemon-reload, just use different cleanup units On a very slow machine, things are executed out-of-order, and something pins the previously-exited unit. Instead of fighting with this with daemon-reload, let's just use a different cleanup unit. Hopefully fixes #22755. --- diff --git a/test/units/testsuite-68.sh b/test/units/testsuite-68.sh index 3e3208eb85f..fefb03035e8 100755 --- a/test/units/testsuite-68.sh +++ b/test/units/testsuite-68.sh @@ -102,6 +102,9 @@ ExecStartPre=/tmp/check_on_success.sh ExecStart=/tmp/check_on_success.sh EOF +cp /run/systemd/system/testservice-success-exit-handler-68.service \ + /run/systemd/system/testservice-transient-success-exit-handler-68.service + # Template version. cat >/run/systemd/system/testservice-success-exit-handler-68-template@.service </run/systemd/system/testservice-failure-exit-handler-68-template@.service <