mirror of
https://github.com/systemd/systemd
synced 2024-09-06 08:46:19 +00:00
![Yu Watanabe](/assets/img/avatar_default.png)
This drops logs of failed unit tests in TEST-02-UNITTESTS from the journal, as the expected logs from test-varlink-idl makes the post script fail. Saving logs in journal is simply noisy, and we will output anyway after qemu or nspawn finished by check_result_{qemu,nspawn}_unittests().
11 lines
209 B
Bash
Executable file
11 lines
209 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" >>/failed)
|
|
|
|
systemctl poweroff --no-block
|
|
exit 0
|