mirror of
https://github.com/systemd/systemd.git
synced 2025-01-11 09:18:07 +03:00
038e455462
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
|