From 8c89620e806da60afe18ca788eb61176ed78c0c5 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Mon, 29 Apr 2024 14:28:32 +0200 Subject: [PATCH] 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. --- test/units/testsuite-09.journal.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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