From: Frantisek Sumsal Date: Fri, 30 Sep 2022 06:48:53 +0000 (+0200) Subject: test: kill the machine on oops/panic/soft_lockup X-Git-Tag: v252-rc1~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=842a9d5f9174940ffe2bfddd1cd72654323ce27f;p=thirdparty%2Fsystemd.git test: kill the machine on oops/panic/soft_lockup Otherwise the machine will hang on the panic until the timeout happens, which might waste quite a considerable amount of time in certain cases. --- diff --git a/test/test-functions b/test/test-functions index 331e98c04e3..e9da6e3d113 100644 --- a/test/test-functions +++ b/test/test-functions @@ -478,7 +478,12 @@ run_qemu() { ) if ! get_bool "$INTERACTIVE_DEBUG"; then - kernel_params+=("systemd.wants=end.service") + kernel_params+=( + "oops=panic" + "panic=1" + "softlockup_panic=1" + "systemd.wants=end.service" + ) fi [ -e "$IMAGE_PRIVATE" ] && image="$IMAGE_PRIVATE" || image="$IMAGE_PUBLIC"