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: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
Steven Rostedt 2011-03-07 13:21:00 -05:00 committed by Steven Rostedt
parent f80802cb1f
commit 10abf118f0
1 changed files with 1 additions and 0 deletions

View File

@ -820,6 +820,7 @@ sub monitor {
}
if ($full_line =~ /Kernel panic -/) {
$failure_start = time;
$bug = 1;
}