]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: Set kernel loglevel to INFO when running tests unattended
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 6 Dec 2024 14:13:16 +0000 (15:13 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 20 Dec 2024 19:43:57 +0000 (19:43 +0000)
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 8f51cf69814fc59be0ee4a1a18e8cd068559409f)

test/integration-test-wrapper.py

index b417b86441f04a4d6e6d50f99c6fa27bf57bf60a..38caeda780bff8ace81fe6be44e35b8867b10752 100755 (executable)
@@ -169,6 +169,7 @@ def main() -> None:
                         'systemd.show_status=error',
                         'systemd.crash_shell=0',
                         'systemd.crash_action=poweroff',
+                        'loglevel=6',
                     ]
                     if not sys.stderr.isatty()
                     else []