ktest: Fix SWITCH_TO_GOOD to also reboot the machine
authorSteven Rostedt <srostedt@redhat.com>
Wed, 21 Mar 2012 12:24:57 +0000 (08:24 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 21 Mar 2012 12:24:57 +0000 (08:24 -0400)
commit769df641cc1b870c0d7f95d6433416bf2c6c2b5e
tree51d9ef1fc27ae6928afa9d1a7d565a269b2e05c4
parent02ad261704a54ebb45de370f219e55530d702291
ktest: Fix SWITCH_TO_GOOD to also reboot the machine

When the option SWITCH_TO_GOOD is set, it will be called when the system
needs to reboot to the good server. But currently, this keeps the reboot
from happening. The SWITCH_TO_GOOD is just a way to get to a new kernel,
it may not mean to not reboot.

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