summaryrefslogtreecommitdiffstats
path: root/test/testsuite-03.units
diff options
context:
space:
mode:
Diffstat (limited to 'test/testsuite-03.units')
-rw-r--r--test/testsuite-03.units/always-activating.service8
-rw-r--r--test/testsuite-03.units/always-activating.socket5
-rw-r--r--test/testsuite-03.units/fails-on-restart-restartdirect.service11
-rw-r--r--test/testsuite-03.units/fails-on-restart-restartdirect.target3
-rw-r--r--test/testsuite-03.units/fails-on-restart.service11
-rw-r--r--test/testsuite-03.units/fails-on-restart.target3
-rw-r--r--test/testsuite-03.units/hello-after-sleep.target6
-rw-r--r--test/testsuite-03.units/hello.service6
-rw-r--r--test/testsuite-03.units/propagatestopto-and-pullin.target5
-rw-r--r--test/testsuite-03.units/propagatestopto-indirect.target3
-rw-r--r--test/testsuite-03.units/propagatestopto-only.target3
-rw-r--r--test/testsuite-03.units/sleep-infinity-simple.service7
-rw-r--r--test/testsuite-03.units/sleep.service7
-rw-r--r--test/testsuite-03.units/succeeds-on-restart-restartdirect.service6
-rw-r--r--test/testsuite-03.units/succeeds-on-restart-restartdirect.target3
-rw-r--r--test/testsuite-03.units/succeeds-on-restart.service6
-rwxr-xr-xtest/testsuite-03.units/succeeds-on-restart.sh10
-rw-r--r--test/testsuite-03.units/succeeds-on-restart.target3
-rw-r--r--test/testsuite-03.units/unstoppable.service6
19 files changed, 0 insertions, 112 deletions
diff --git a/test/testsuite-03.units/always-activating.service b/test/testsuite-03.units/always-activating.service
deleted file mode 100644
index 93ddb85..0000000
--- a/test/testsuite-03.units/always-activating.service
+++ /dev/null
@@ -1,8 +0,0 @@
-[Unit]
-Description=Service that never leaves state ACTIVATING
-Requires=always-activating.socket
-After=always-activating.socket
-
-[Service]
-Type=notify
-ExecStart=bash -c 'sleep infinity'
diff --git a/test/testsuite-03.units/always-activating.socket b/test/testsuite-03.units/always-activating.socket
deleted file mode 100644
index c76fed2..0000000
--- a/test/testsuite-03.units/always-activating.socket
+++ /dev/null
@@ -1,5 +0,0 @@
-[Unit]
-Description=Socket that activates always-activating.service
-
-[Socket]
-ListenStream=/run/test-03-always-activating.sock
diff --git a/test/testsuite-03.units/fails-on-restart-restartdirect.service b/test/testsuite-03.units/fails-on-restart-restartdirect.service
deleted file mode 100644
index 60ffd7a..0000000
--- a/test/testsuite-03.units/fails-on-restart-restartdirect.service
+++ /dev/null
@@ -1,11 +0,0 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-[Unit]
-Description=Fail on restart
-StartLimitIntervalSec=1m
-StartLimitBurst=3
-
-[Service]
-Type=oneshot
-ExecStart=false
-Restart=on-failure
-RestartMode=direct
diff --git a/test/testsuite-03.units/fails-on-restart-restartdirect.target b/test/testsuite-03.units/fails-on-restart-restartdirect.target
deleted file mode 100644
index 58e2561..0000000
--- a/test/testsuite-03.units/fails-on-restart-restartdirect.target
+++ /dev/null
@@ -1,3 +0,0 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-[Unit]
-Requires=fails-on-restart-restartdirect.service
diff --git a/test/testsuite-03.units/fails-on-restart.service b/test/testsuite-03.units/fails-on-restart.service
deleted file mode 100644
index fb7e7ae..0000000
--- a/test/testsuite-03.units/fails-on-restart.service
+++ /dev/null
@@ -1,11 +0,0 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-[Unit]
-Description=Fail on restart
-StartLimitIntervalSec=1m
-StartLimitBurst=3
-
-[Service]
-Type=oneshot
-ExecStart=false
-Restart=on-failure
-RestartMode=normal
diff --git a/test/testsuite-03.units/fails-on-restart.target b/test/testsuite-03.units/fails-on-restart.target
deleted file mode 100644
index 865fb2a..0000000
--- a/test/testsuite-03.units/fails-on-restart.target
+++ /dev/null
@@ -1,3 +0,0 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-[Unit]
-Requires=fails-on-restart.service
diff --git a/test/testsuite-03.units/hello-after-sleep.target b/test/testsuite-03.units/hello-after-sleep.target
deleted file mode 100644
index b0ddb30..0000000
--- a/test/testsuite-03.units/hello-after-sleep.target
+++ /dev/null
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-[Unit]
-Description=Sleep for a minute, then say hello.
-Wants=sleep.service hello.service
-After=sleep.service
-Before=hello.service
diff --git a/test/testsuite-03.units/hello.service b/test/testsuite-03.units/hello.service
deleted file mode 100644
index 0c3f2f8..0000000
--- a/test/testsuite-03.units/hello.service
+++ /dev/null
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-[Unit]
-Description=Hello World
-
-[Service]
-ExecStart=/bin/echo "Hello World"
diff --git a/test/testsuite-03.units/propagatestopto-and-pullin.target b/test/testsuite-03.units/propagatestopto-and-pullin.target
deleted file mode 100644
index 8e409af..0000000
--- a/test/testsuite-03.units/propagatestopto-and-pullin.target
+++ /dev/null
@@ -1,5 +0,0 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-[Unit]
-Requires=sleep-infinity-simple.service
-After=sleep-infinity-simple.service
-PropagatesStopTo=sleep-infinity-simple.service
diff --git a/test/testsuite-03.units/propagatestopto-indirect.target b/test/testsuite-03.units/propagatestopto-indirect.target
deleted file mode 100644
index e8229a7..0000000
--- a/test/testsuite-03.units/propagatestopto-indirect.target
+++ /dev/null
@@ -1,3 +0,0 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-[Unit]
-PropagatesStopTo=propagatestopto-and-pullin.target
diff --git a/test/testsuite-03.units/propagatestopto-only.target b/test/testsuite-03.units/propagatestopto-only.target
deleted file mode 100644
index 327b7c1..0000000
--- a/test/testsuite-03.units/propagatestopto-only.target
+++ /dev/null
@@ -1,3 +0,0 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-[Unit]
-PropagatesStopTo=sleep-infinity-simple.service
diff --git a/test/testsuite-03.units/sleep-infinity-simple.service b/test/testsuite-03.units/sleep-infinity-simple.service
deleted file mode 100644
index 211346d..0000000
--- a/test/testsuite-03.units/sleep-infinity-simple.service
+++ /dev/null
@@ -1,7 +0,0 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-[Unit]
-Description=Sleep infinitely
-
-[Service]
-Type=simple
-ExecStart=/bin/sleep infinity
diff --git a/test/testsuite-03.units/sleep.service b/test/testsuite-03.units/sleep.service
deleted file mode 100644
index 32c2037..0000000
--- a/test/testsuite-03.units/sleep.service
+++ /dev/null
@@ -1,7 +0,0 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-[Unit]
-Description=Sleep for 1 minute
-
-[Service]
-Type=oneshot
-ExecStart=/bin/sleep 60
diff --git a/test/testsuite-03.units/succeeds-on-restart-restartdirect.service b/test/testsuite-03.units/succeeds-on-restart-restartdirect.service
deleted file mode 100644
index b05f2f8..0000000
--- a/test/testsuite-03.units/succeeds-on-restart-restartdirect.service
+++ /dev/null
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-[Service]
-Type=oneshot
-ExecStart=/usr/lib/systemd/tests/testdata/testsuite-03.units/succeeds-on-restart.sh
-Restart=on-failure
-RestartMode=direct
diff --git a/test/testsuite-03.units/succeeds-on-restart-restartdirect.target b/test/testsuite-03.units/succeeds-on-restart-restartdirect.target
deleted file mode 100644
index 2cf3c60..0000000
--- a/test/testsuite-03.units/succeeds-on-restart-restartdirect.target
+++ /dev/null
@@ -1,3 +0,0 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-[Unit]
-Requires=succeeds-on-restart-restartdirect.service
diff --git a/test/testsuite-03.units/succeeds-on-restart.service b/test/testsuite-03.units/succeeds-on-restart.service
deleted file mode 100644
index d7b3c7a..0000000
--- a/test/testsuite-03.units/succeeds-on-restart.service
+++ /dev/null
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-[Service]
-Type=oneshot
-ExecStart=/usr/lib/systemd/tests/testdata/testsuite-03.units/succeeds-on-restart.sh
-Restart=on-failure
-RestartMode=normal
diff --git a/test/testsuite-03.units/succeeds-on-restart.sh b/test/testsuite-03.units/succeeds-on-restart.sh
deleted file mode 100755
index 1428b18..0000000
--- a/test/testsuite-03.units/succeeds-on-restart.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/usr/bin/env bash
-# SPDX-License-Identifier: LGPL-2.1-or-later
-if [[ ! -f "/succeeds-on-restart.ko" ]]
-then
- touch "/succeeds-on-restart.ko"
- exit 1
-else
- rm "/succeeds-on-restart.ko"
- exit 0
-fi
diff --git a/test/testsuite-03.units/succeeds-on-restart.target b/test/testsuite-03.units/succeeds-on-restart.target
deleted file mode 100644
index eb82f47..0000000
--- a/test/testsuite-03.units/succeeds-on-restart.target
+++ /dev/null
@@ -1,3 +0,0 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-[Unit]
-Requires=succeeds-on-restart.service
diff --git a/test/testsuite-03.units/unstoppable.service b/test/testsuite-03.units/unstoppable.service
deleted file mode 100644
index 6eb7c19..0000000
--- a/test/testsuite-03.units/unstoppable.service
+++ /dev/null
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: LGPL-2.1-or-later
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-ExecStart=/bin/echo "I'm unstoppable!"
-ExecStop=/bin/systemctl start --no-block unstoppable.service