mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08: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:
committed by
Yu Watanabe
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"
|
||||
|
||||
Reference in New Issue
Block a user