Commit 4025bc62 authored by Steven Rostedt's avatar Steven Rostedt Committed by 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: default avatarSteven Rostedt <rostedt@goodmis.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment