integration tests: do not adjust log level in the test script

We passes log level through kernel command line. It is not necessary to
set to debug level at the beginning, and set to info at the end.
This is important when a test has several subtests. If a subtest sets
log level to info at the end, then subsequent tests may not generate any
useful logs.
This commit is contained in:
Yu Watanabe
2025-09-26 07:20:04 +09:00
parent ba8801a076
commit 5c60d3011f
40 changed files with 0 additions and 160 deletions
-3
View File
@@ -168,9 +168,6 @@ testcase_mount_ratelimit() {
timeout 2m bash -c 'while systemctl list-units -t mount tmp-meow* | grep -q tmp-meow; do systemctl daemon-reload; sleep 10; done'
}
systemd-analyze log-level debug
systemd-analyze log-target journal
mkdir -p /run/systemd/journald.conf.d
cat >/run/systemd/journald.conf.d/99-ratelimit.conf <<EOF
[Journal]