]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: vacuum the journal after the "stress test"
authorFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 3 May 2023 15:37:09 +0000 (17:37 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Wed, 3 May 2023 15:37:09 +0000 (17:37 +0200)
To make the rest of the test significantly faster.

test/units/testsuite-04.sh

index 265f7d9306988272266630cac16bbbe40b44f880..52a3f7776b48269534e5eca211fefc2e99acd2c0 100755 (executable)
@@ -14,6 +14,7 @@ done
 journalctl --rotate
 journalctl --flush
 journalctl --sync
+journalctl --rotate --vacuum-size=8M
 
 # Reset the ratelimit buckets for the subsequent tests below.
 systemctl restart systemd-journald