2023-11-26 21:26:07 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
|
|
|
|
set -eux
|
|
|
|
set -o pipefail
|
|
|
|
|
|
|
|
(! journalctl -q -o short-monotonic --grep "didn't pass validation" >>/failed)
|
|
|
|
|
2024-02-27 17:32:51 +00:00
|
|
|
# Here, the redundant '[ ]' in the pattern is required in order not to match the logged command itself.
|
|
|
|
(! journalctl -q -o short-monotonic --grep 'Warning: cannot close sd-bus connection[ ].*after fork' >>/failed)
|
2024-01-21 04:14:15 +00:00
|
|
|
|
2024-03-28 14:20:22 +00:00
|
|
|
# Check if sd-executor doesn't complain about not being able to (de)serialize stuff
|
|
|
|
(! journalctl -q -o short-monotonic --grep "[F]ailed to parse serialized line" >>/failed)
|
|
|
|
(! journalctl -q -o short-monotonic --grep "[F]ailed to (de)?serialize \w+" >>/failed)
|
|
|
|
|
2023-11-26 21:26:07 +00:00
|
|
|
systemctl poweroff --no-block
|
|
|
|
exit 0
|