diff options
author | Steven Rostedt <srostedt@redhat.com> | 2012-03-21 08:24:57 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-03-21 08:24:57 -0400 |
commit | 769df641cc1b870c0d7f95d6433416bf2c6c2b5e (patch) | |
tree | 51d9ef1fc27ae6928afa9d1a7d565a269b2e05c4 /tools/testing/ktest | |
parent | 02ad261704a54ebb45de370f219e55530d702291 (diff) |
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>
Diffstat (limited to 'tools/testing/ktest')
-rwxr-xr-x | tools/testing/ktest/ktest.pl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl index 1143e6c5f07f..e7fed7903939 100755 --- a/tools/testing/ktest/ktest.pl +++ b/tools/testing/ktest/ktest.pl | |||
@@ -1116,7 +1116,6 @@ sub reboot_to_good { | |||
1116 | 1116 | ||
1117 | if (defined($switch_to_good)) { | 1117 | if (defined($switch_to_good)) { |
1118 | run_command $switch_to_good; | 1118 | run_command $switch_to_good; |
1119 | return; | ||
1120 | } | 1119 | } |
1121 | 1120 | ||
1122 | reboot $time; | 1121 | reboot $time; |