summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-09.service
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2023-09-23 18:17:04 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-09-27 14:50:19 +0200
commitc1b129f4ad8a4e6b7bba763d4400a8957c01c803 (patch)
tree0333ab6d2ce7fc2cf18585043150f281d1b06470 /test/units/testsuite-09.service
parenttest: add test case that journal file with unreferenced _BOOT_ID data (diff)
downloadsystemd-c1b129f4ad8a4e6b7bba763d4400a8957c01c803.tar.xz
systemd-c1b129f4ad8a4e6b7bba763d4400a8957c01c803.zip
test: introduce TEST-09-REBOOT
To test stuff involving state preserved across (multiple) reboots, like journal boot IDs.
Diffstat (limited to 'test/units/testsuite-09.service')
-rw-r--r--test/units/testsuite-09.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/units/testsuite-09.service b/test/units/testsuite-09.service
new file mode 100644
index 0000000000..6c957ecbd1
--- /dev/null
+++ b/test/units/testsuite-09.service
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Unit]
+Description=TEST-09-REBOOT
+After=multi-user.target
+
+[Service]
+ExecStartPre=rm -f /failed /testok
+ExecStart=/usr/lib/systemd/tests/testdata/units/%N.sh
+Type=oneshot