mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-10 01:17:44 +03:00
test: don't hang indefinitely on no match
This commit is contained in:
parent
05bb428952
commit
270e9dcdb8
@ -41,7 +41,7 @@ monitor_check_rr() (
|
||||
# displayed. We turn off pipefail for this, since we don't care about the
|
||||
# lhs of this pipe expression, we only care about the rhs' result to be
|
||||
# clean
|
||||
journalctl -u resmontest.service --since "$since" -f --full | grep -m1 "$match"
|
||||
timeout -v 30s journalctl -u resmontest.service --since "$since" -f --full | grep -m1 "$match"
|
||||
)
|
||||
|
||||
# Test for resolvectl, resolvconf
|
||||
|
Loading…
Reference in New Issue
Block a user