diff options
author | Steven Rostedt <srostedt@redhat.com> | 2012-05-01 08:20:12 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-05-01 08:25:48 -0400 |
commit | 759a3cc625e77161ae457459489178dd0921524e (patch) | |
tree | 7b39db0c257978d79b1819f518171e839c2629e0 /drivers/net/team/team.c | |
parent | 5158ba3ea7fc8c3deafec769a32bc6eb869c3608 (diff) | |
download | op-kernel-dev-759a3cc625e77161ae457459489178dd0921524e.zip op-kernel-dev-759a3cc625e77161ae457459489178dd0921524e.tar.gz |
ktest: Fix reboot on success stopping all reboots
The change to let individual tests decide to reboot the machine on
success of the entire test also prevented errors from rebooting
when an error was detected.
The "no_reboot" variable was only cleared if the test had
reboot_on_success set. But the no_reboot variable also prevents the test
rebooting when an error was detected even when REBOOT_ON_ERROR was set.
Add a new "reboot_success" variable that is used to determine if the
test should reboot on success and not touch the no_reboot variable.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers/net/team/team.c')
0 files changed, 0 insertions, 0 deletions