From: Luca Boccassi Date: Wed, 9 Feb 2022 11:50:19 +0000 (+0000) Subject: test: cover template OnFailure/OnSuccess handlers in TEST-68-PROPAGATE-EXIT-STATUS X-Git-Tag: v251-rc1~175^2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c19c4ab14840e93ebd4d5650a16453daa7dd872d;p=thirdparty%2Fsystemd.git test: cover template OnFailure/OnSuccess handlers in TEST-68-PROPAGATE-EXIT-STATUS --- diff --git a/test/units/testsuite-68.sh b/test/units/testsuite-68.sh index d9584e4539b..aa02d66dcfa 100755 --- a/test/units/testsuite-68.sh +++ b/test/units/testsuite-68.sh @@ -36,6 +36,15 @@ OnFailure=testservice-failure-exit-handler-68.service ExecStart=/bin/bash -c "exit 1" EOF +cat >/run/systemd/system/testservice-failure-68-template.service </run/systemd/system/testservice-success-68.service </run/systemd/system/testservice-success-68-template.service </tmp/check_on_success.sh </run/systemd/system/testservice-success-exit-handler-68-template@.service </tmp/check_on_failure.sh </run/systemd/system/testservice-failure-exit-handler-68-template@.service </testok