summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-12-06 15:13:16 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-12-08 12:55:43 +0100
commit8f51cf69814fc59be0ee4a1a18e8cd068559409f (patch)
treee8ccdff0c126778ed4735787a1266e98b10ef62f
parentmkosi: Move leak sanitizer supressions file to sanitizers extra tree (diff)
downloadsystemd-8f51cf69814fc59be0ee4a1a18e8cd068559409f.tar.xz
systemd-8f51cf69814fc59be0ee4a1a18e8cd068559409f.zip
test: Set kernel loglevel to INFO when running tests unattended
This makes sure all kernel log messages are logged to the console. This should be helpful during shutdown to detect possible issues with journald when the logs can't be written to the journal itself anymore but are written to kmsg.
-rwxr-xr-xtest/integration-test-wrapper.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration-test-wrapper.py b/test/integration-test-wrapper.py
index bf0fe80d44..c08f77043c 100755
--- a/test/integration-test-wrapper.py
+++ b/test/integration-test-wrapper.py
@@ -373,6 +373,7 @@ def main() -> None:
'systemd.show_status=error',
'systemd.crash_shell=0',
'systemd.crash_action=poweroff',
+ 'loglevel=6',
]
if not sys.stderr.isatty()
else []