ktest: Do not opencode reboot in grub setting
authorSteven Rostedt <srostedt@redhat.com>
Thu, 20 Oct 2011 13:56:41 +0000 (09:56 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 20 Oct 2011 13:56:41 +0000 (09:56 -0400)
commitc54367f9d6be8e19c6e98ae7038438f0377ee138
tree167987b186f57779f1e19726af9f2f35315d5e23
parent8d735212e441af855afd28ccc402fcaf12999f8d
ktest: Do not opencode reboot in grub setting

When setting the next kernel to boot to with grub, do not opencode
the reboot operation.  The normal reboot operation can be modified by
config options (namely POWERCYCLE_AFTER_REBOOT). This needs to affect
all reboots. Remove the opencoded reboot to make sure that any changes
to the reboot code also affect all reboots.

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