summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-80.service
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2023-03-21 20:40:52 +0100
committerMike Yuan <me@yhndnzj.com>2023-03-22 12:22:10 +0100
commitb64f5ddacad725d5e4e021691fad52aa2eb32c46 (patch)
tree1cfca26c5511c69c5e9ce0d77e62e5d3bec107b5 /test/units/testsuite-80.service
parentcore: support overriding NOTIFYACCESS= through sd-notify during runtime (diff)
downloadsystemd-b64f5ddacad725d5e4e021691fad52aa2eb32c46.tar.xz
systemd-b64f5ddacad725d5e4e021691fad52aa2eb32c46.zip
test: add tests for NOTIFYACCESS override through sd_notify
Diffstat (limited to 'test/units/testsuite-80.service')
-rw-r--r--test/units/testsuite-80.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/units/testsuite-80.service b/test/units/testsuite-80.service
new file mode 100644
index 0000000000..4c7f5d5ebd
--- /dev/null
+++ b/test/units/testsuite-80.service
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Unit]
+Description=TEST-80-NOTIFYACCESS
+
+[Service]
+ExecStartPre=rm -f /failed /testok
+ExecStart=/usr/lib/systemd/tests/testdata/units/%N.sh
+Type=oneshot