mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
Previously, we have checked journal after TEST-XX-YYYYY.sh, but it was forgotten when we switched to mkosi. This re-enable the check but through ExecStartPost=, and drops unnecessary workarounds for end.service. Then, this drops unnecessary end.service and testsuite.target.
14 lines
677 B
Bash
Executable File
14 lines
677 B
Bash
Executable File
#!/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" | grep -v "test-varlink-idl" >>/failed)
|
|
|
|
# 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)
|
|
|
|
# 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)
|