mirror of
https://github.com/systemd/systemd
synced 2024-07-21 02:05:05 +00:00
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.
This commit is contained in:
parent
950aeeb8ff
commit
842a9d5f91
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue