]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6e1553cd496e1afb5559cfd3487182da770c6842
treef3a3d69ca90fcd5799991cbd62d9fb93c4463b80
parent6459ac4991b32dfcde3f69aa872b8391fd9405df
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