mirror of
https://github.com/systemd/systemd.git
synced 2025-02-25 21:57:32 +03:00
test: show journal entries matching the test's syslog identifier as well
This commit is contained in:
parent
a66031255f
commit
77baca26f5
@ -1840,7 +1840,8 @@ save_journal() {
|
||||
# Show messages from the testsuite-XX.service or messages with priority "warning" and higher
|
||||
echo " --- $source_dir ---"
|
||||
"$JOURNALCTL" --no-pager --no-hostname -o short-monotonic -D "$source_dir" \
|
||||
_SYSTEMD_UNIT="testsuite-${TESTID:?}.service" + PRIORITY=4 + PRIORITY=3 + PRIORITY=2 + PRIORITY=1 + PRIORITY=0
|
||||
_SYSTEMD_UNIT="testsuite-${TESTID:?}.service" + SYSLOG_IDENTIFIER="testsuite-$TESTID.sh" + \
|
||||
PRIORITY=4 + PRIORITY=3 + PRIORITY=2 + PRIORITY=1 + PRIORITY=0
|
||||
|
||||
if get_bool "$save"; then
|
||||
# If we don't have systemd-journal-remote copy all journals from /var/log/journal/
|
||||
|
Loading…
x
Reference in New Issue
Block a user