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 adcbf8b..2a8f797 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