1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-24 06:04:05 +03:00

test: don't make the final vacuum multiple of 8M

As this would usually mean we'd nuke everything, since there are two
open journals - system and user - both being 8M in size.
This commit is contained in:
Frantisek Sumsal 2023-11-21 11:31:36 +01:00
parent 09bdb9f121
commit c5035a30e2

View File

@ -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