Skip to content

Commit

Permalink
ktest: Fix SWITCH_TO_GOOD to also reboot the machine
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Rostedt authored and Steven Rostedt committed Mar 21, 2012
1 parent 02ad261 commit 769df64
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/testing/ktest/ktest.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1116,7 +1116,6 @@ sub reboot_to_good {

if (defined($switch_to_good)) {
run_command $switch_to_good;
return;
}

reboot $time;
Expand Down

0 comments on commit 769df64

Please sign in to comment.