From: Lennart Poettering Date: Tue, 8 Apr 2025 16:35:35 +0000 (+0200) Subject: test: add sync request until all logging about the test unit is done X-Git-Tag: v258-rc1~633^2~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=80ab0e04d38017fa9db0c4af1bdca8f83e4234e4;p=thirdparty%2Fsystemd.git test: add sync request until all logging about the test unit is done --- diff --git a/test/units/TEST-04-JOURNAL.LogFilterPatterns.sh b/test/units/TEST-04-JOURNAL.LogFilterPatterns.sh index 79482d60780..277e367b329 100755 --- a/test/units/TEST-04-JOURNAL.LogFilterPatterns.sh +++ b/test/units/TEST-04-JOURNAL.LogFilterPatterns.sh @@ -36,6 +36,7 @@ run_service_and_fetch_logs() { fi systemctl start "$unit" + journalctl --sync journalctl -q -u "$unit" -I -p notice }