From: Daan De Meyer Date: Mon, 29 Apr 2024 12:28:32 +0000 (+0200) Subject: TEST-09-REBOOT: Make journalctl grep pattern more specific X-Git-Tag: v256-rc2~139^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c89620e806da60afe18ca788eb61176ed78c0c5;p=thirdparty%2Fsystemd.git TEST-09-REBOOT: Make journalctl grep pattern more specific We might be rotating because we reached limits, which is perfectly fine, so don't fail if that happens. --- diff --git a/test/units/testsuite-09.journal.sh b/test/units/testsuite-09.journal.sh index 136d905ab93..5248d70d844 100755 --- a/test/units/testsuite-09.journal.sh +++ b/test/units/testsuite-09.journal.sh @@ -84,7 +84,7 @@ verify_seqnum() { journalctl --system --header - (! journalctl --system -q -o short-monotonic -u systemd-journald.service --grep 'rotating') + (! journalctl --system -q -o short-monotonic -u systemd-journald.service --grep 'Journal file uses a different sequence number ID, rotating') set +x previous_seqnum=0