Commit 769df641cc1b870c0d7f95d6433416bf2c6c2b5e

Authored by Steven Rostedt
Committed by Steven Rostedt
1 parent 02ad261704

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>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

tools/testing/ktest/ktest.pl
... ... @@ -1116,7 +1116,6 @@
1116 1116  
1117 1117 if (defined($switch_to_good)) {
1118 1118 run_command $switch_to_good;
1119   - return;
1120 1119 }
1121 1120  
1122 1121 reboot $time;