summaryrefslogtreecommitdiff
path: root/test/testsuite-07.units
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2023-05-10 14:26:08 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2023-05-10 21:26:26 +0200
commitd8d8380a35c494b6cb7ec5ee12dbe93002bd2f2f (patch)
tree90b4a1e0cc6c197265ef4513b8bed47c49ee1586 /test/testsuite-07.units
parent11562ee585d5f2e42cb583f06aa01c7383d85f55 (diff)
downloadsystemd-d8d8380a35c494b6cb7ec5ee12dbe93002bd2f2f.tar.gz
test: merge TEST-51-ISSUE-16115 into TEST-07-PID1
Diffstat (limited to 'test/testsuite-07.units')
-rw-r--r--test/testsuite-07.units/issue16115-repro-1.service10
-rw-r--r--test/testsuite-07.units/issue16115-repro-2.service10
-rw-r--r--test/testsuite-07.units/issue16115-repro-3.service10
3 files changed, 30 insertions, 0 deletions
diff --git a/test/testsuite-07.units/issue16115-repro-1.service b/test/testsuite-07.units/issue16115-repro-1.service
new file mode 100644
index 0000000000..90252b388a
--- /dev/null
+++ b/test/testsuite-07.units/issue16115-repro-1.service
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Unit]
+Description=Issue 16115 Repro with on-abnormal
+
+[Service]
+Type=simple
+Restart=on-abnormal
+ExecCondition=/bin/false
+ExecStart=sleep 100
+RestartSec=1
diff --git a/test/testsuite-07.units/issue16115-repro-2.service b/test/testsuite-07.units/issue16115-repro-2.service
new file mode 100644
index 0000000000..7c65691029
--- /dev/null
+++ b/test/testsuite-07.units/issue16115-repro-2.service
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Unit]
+Description=Issue 16115 Repro with on-failure
+
+[Service]
+Type=simple
+Restart=on-failure
+ExecCondition=/bin/false
+ExecStart=sleep 100
+RestartSec=1
diff --git a/test/testsuite-07.units/issue16115-repro-3.service b/test/testsuite-07.units/issue16115-repro-3.service
new file mode 100644
index 0000000000..c68f93d11d
--- /dev/null
+++ b/test/testsuite-07.units/issue16115-repro-3.service
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Unit]
+Description=Issue 22257 Repro with Restart=always
+
+[Service]
+Type=simple
+Restart=always
+ExecCondition=/bin/false
+ExecStart=sleep 100
+RestartSec=1