1
1
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:
Frantisek Sumsal 2023-01-27 14:29:42 +01:00
parent 05bb428952
commit 270e9dcdb8

View File

@ -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