]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
TEST-09-REBOOT: Make journalctl grep pattern more specific
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 29 Apr 2024 12:28:32 +0000 (14:28 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 30 Apr 2024 20:10:05 +0000 (22:10 +0200)
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

index 136d905ab9310a010717e7638c0ccb09483d5587..5248d70d844ffee5d69039a7ff2b6aa6a66fd71a 100755 (executable)
@@ -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