]>
Commit | Line | Data |
---|---|---|
a1ba8c5b JB |
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 | |
0ee99483 | 6 | echo "honor-first-shutdown script not found - FAIL" >/testok |
a1ba8c5b JB |
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 | ||
0ee99483 | 16 | echo OK >/testok |
a1ba8c5b JB |
17 | |
18 | exit 0 |