summaryrefslogtreecommitdiff
path: root/test/end.service
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-10 19:31:22 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-10 19:31:22 +0100
commit7fa89e2fe2a6a41f139261484fd34bef596e4d46 (patch)
treecf93f1f133f1728a55b4fc2a0557598a9e5753b9 /test/end.service
parent930a0796937402e591f42555c870713e8f5cc64a (diff)
parent5c404f1ab8e96efedb983806443ca982a1b2a372 (diff)
Merge pull request #1812 from evverx/test-fixes
tests: various fixes
Diffstat (limited to 'test/end.service')
-rw-r--r--test/end.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/end.service b/test/end.service
new file mode 100644
index 0000000000..6e1996fd02
--- /dev/null
+++ b/test/end.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=End the test
+After=testsuite.service
+OnFailure=poweroff.target
+OnFailureJobMode=replace-irreversibly
+
+[Service]
+Type=oneshot
+ExecStart=/bin/sh -x -c 'systemctl poweroff --no-block'
+TimeoutStartSec=5m