Merge pull request #31386 from mrc0mmand/test-tweaks

Revert "test: use btrfs by default on Arch as well"
This commit is contained in:
Frantisek Sumsal
2024-02-19 14:53:31 +01:00
committed by GitHub
2 changed files with 3 additions and 5 deletions
@@ -10,6 +10,7 @@ rm -f "/var/log/journal/$(</etc/machine-id)"/user-*@*.journal
journalctl --header | grep path
# Make sure the user instance is active when we rotate journals
loginctl enable-linger testuser
systemd-run --unit user-sleep.service --user -M testuser@ sleep infinity
for _ in {0..9}; do
@@ -20,6 +21,7 @@ for _ in {0..9}; do
done
systemctl stop --user -M testuser@ user-sleep.service
loginctl disable-linger testuser
journalctl --sync
journalctl --rotate --vacuum-files=1