[Unit]
Description=End the test
After=testsuite.service
+OnFailure=poweroff.target
+OnFailureJobMode=replace-irreversibly
[Service]
-ExecStart=/usr/bin/systemctl poweroff --no-block
+Type=oneshot
+ExecStart=/bin/sh -x -c 'systemctl poweroff --no-block'
+TimeoutStartSec=5m