提交 4025bc62 编写于 作者: S Steven Rostedt 提交者: Steven Rostedt

ktest: Reboot to good kernel after every bisect run

Reboot after each bisect run regardless if the bisect passed
or failed. The test may just be to boot the kernel and that kernel
may not have a way to copy the next kerne to it. Reboot to a known
good kernel after each bisect run.
Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
上级 4d62bf51
......@@ -1248,14 +1248,14 @@ sub run_bisect_test {
if ($failed) {
$result = 0;
# reboot the box to a good kernel
if ($type ne "build") {
bisect_reboot;
}
} else {
$result = 1;
}
# reboot the box to a kernel we can ssh to
if ($type ne "build") {
bisect_reboot;
}
$in_bisect = 0;
return $result;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册