ktest: Fix check for new kernel success on rebooting to good kernel
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Tue, 7 Oct 2014 20:31:07 +0000 (16:31 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 7 Oct 2014 20:31:07 +0000 (16:31 -0400)
commit995bc4314071db148222497875be32d1eb73726d
treef3a3d69ca90fcd5799991cbd62d9fb93c4463b80
parentfee9d3e61d04422628a3d22ed5eb8370dcef259b
ktest: Fix check for new kernel success on rebooting to good kernel

The reboot function when rebooting back to a good kernel has a check
to make sure that a new kernel was indeed booted. But that check
uses a timeout value, which when calling the monitor will still
return success if the timeout is hit (no bug was found). It should
return an error to let the reboot code know that a new kernel was
not reached. Only the reboot code checks the return value of the
monitor.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl