ktest: Reset grub menu cache with different machines
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 24 Apr 2013 20:03:30 +0000 (16:03 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 24 Apr 2013 20:03:30 +0000 (16:03 -0400)
commitdf5f7c66013c46cec9aa8156af257bc5eb29b5c5
tree7aa8b4f4e405a102d421bbe0932844c16507ea79
parent752d96657cf4844793ac4d62d02a0733396ef16c
ktest: Reset grub menu cache with different machines

Different tests may use a different machine. In such cases, we need to
try to get the current grub menu index. If the same grub menu is used
for two different machines, it may not be at the same index on the
second machine. A search for the index must be performed again.

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