aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-05-20 09:16:29 -0400
committerSteven Rostedt <rostedt@goodmis.org>2011-05-20 09:16:29 -0400
commit4025bc62dd045d326d8a26a50fc86fd163aec89f (patch)
tree27cf9354208e36956dbaa51ba5f45dcc11f20f42 /tools/testing
parent4d62bf51ac3408de85ebc1b677058482069b2e1c (diff)
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: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing')
-rwxr-xr-xtools/testing/ktest/ktest.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl
index 0603e64fea30..2011222c8918 100755
--- a/tools/testing/ktest/ktest.pl
+++ b/tools/testing/ktest/ktest.pl
@@ -1248,14 +1248,14 @@ sub run_bisect_test {
1248 1248
1249 if ($failed) { 1249 if ($failed) {
1250 $result = 0; 1250 $result = 0;
1251
1252 # reboot the box to a good kernel
1253 if ($type ne "build") {
1254 bisect_reboot;
1255 }
1256 } else { 1251 } else {
1257 $result = 1; 1252 $result = 1;
1258 } 1253 }
1254
1255 # reboot the box to a kernel we can ssh to
1256 if ($type ne "build") {
1257 bisect_reboot;
1258 }
1259 $in_bisect = 0; 1259 $in_bisect = 0;
1260 1260
1261 return $result; 1261 return $result;