mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-22 22:03:43 +03:00
test: check if we can use --merge with --follow
Provides coverage for #24565.
This commit is contained in:
parent
e47622a61c
commit
c11c50a53f
@ -154,8 +154,12 @@ sleep 3
|
||||
[[ ! -f "/tmp/i-lose-my-logs" ]]
|
||||
systemctl stop forever-print-hola
|
||||
|
||||
set +o pipefail
|
||||
# https://github.com/systemd/systemd/issues/15528
|
||||
journalctl --follow --file=/var/log/journal/*/* | head -n1 || [[ $? -eq 1 ]]
|
||||
journalctl --follow --file=/var/log/journal/*/* | head -n1 | grep .
|
||||
# https://github.com/systemd/systemd/issues/24565
|
||||
journalctl --follow --merge | head -n1 | grep .
|
||||
set -o pipefail
|
||||
|
||||
add_logs_filtering_override() {
|
||||
local unit="${1:?}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user