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