]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/testsuite-52.units/testsuite-52.sh
Merge pull request #18701 from bugaevc/mdns-unicast
[thirdparty/systemd.git] / test / testsuite-52.units / testsuite-52.sh
CommitLineData
a1ba8c5b
JB
1#!/bin/bash
2set -ex
3set -o pipefail
4
5if ! test -x /usr/lib/systemd/tests/testdata/units/test-honor-first-shutdown.sh ; then
0ee99483 6 echo "honor-first-shutdown script not found - FAIL" >/testok
a1ba8c5b
JB
7 exit 0
8fi
9
10systemd-analyze log-level debug
11systemd-analyze log-target console
12
13systemctl enable test-honor-first-shutdown.service
14systemctl start test-honor-first-shutdown.service
15
0ee99483 16echo OK >/testok
a1ba8c5b
JB
17
18exit 0