]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: don't make the final vacuum multiple of 8M
authorFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 21 Nov 2023 10:31:36 +0000 (11:31 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 24 Nov 2023 10:51:27 +0000 (11:51 +0100)
As this would usually mean we'd nuke everything, since there are two
open journals - system and user - both being 8M in size.

test/units/testsuite-04.sh

index adcbf8be19fa7e73c32fe9d17a1cc5c77d755df1..2a8f7972e407ce2e6068d35b50f40be323a1ff6d 100755 (executable)
@@ -4,7 +4,7 @@ set -eux
 set -o pipefail
 
 # Limit the maximum journal size
-trap "journalctl --rotate --vacuum-size=16M" EXIT
+trap "journalctl --rotate --vacuum-size=20M" EXIT
 
 # shellcheck source=test/units/test-control.sh
 . "$(dirname "$0")"/test-control.sh