提交 10abf118 编写于 作者: S Steven Rostedt 提交者: Steven Rostedt

ktest: Start failure timeout on panic too

Currently we just look for a Call Trace to start the time out
when to reboot the box. But if the kernel panics and does not
show a Call Trace, the test will not reboot the box after
the specified timeout.
Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
上级 f80802cb
...@@ -820,6 +820,7 @@ sub monitor { ...@@ -820,6 +820,7 @@ sub monitor {
} }
if ($full_line =~ /Kernel panic -/) { if ($full_line =~ /Kernel panic -/) {
$failure_start = time;
$bug = 1; $bug = 1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册