Skip to content

Commit 3258c26

Browse files
DaanDeMeyerbluca
authored andcommitted
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. (cherry picked from commit 8f51cf6)
1 parent e538812 commit 3258c26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/integration-test-wrapper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ def main() -> None:
169169
'systemd.show_status=error',
170170
'systemd.crash_shell=0',
171171
'systemd.crash_action=poweroff',
172+
'loglevel=6',
172173
]
173174
if not sys.stderr.isatty()
174175
else []

0 commit comments

Comments
 (0)