]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ktest: Fix off-by-one in config bisect result
authorSteven Rostedt <srostedt@redhat.com>
Thu, 2 Jun 2011 03:22:30 +0000 (23:22 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 2 Jun 2011 15:57:41 +0000 (11:57 -0400)
commit4c8cc55b3c0ebe989e727017933945b68b4327cd
tree725aa612c6d01c912e724c3dc0e1eb8f4e1b2712
parent55922c9d1b84b89cb946c777fddccb3247e7df2c
ktest: Fix off-by-one in config bisect result

Because in perl the array size returned by $#arr, is the last
index and not the actually size of the array, we end the config
bisect early, thinking there is only one config left when there
are in fact two. Thus the result has a 50% chance of picking
the correct config that caused the problem.

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