ktest: Add another monitor flush before installing kernel
authorSteven Rostedt <srostedt@redhat.com>
Sat, 22 Oct 2011 12:58:19 +0000 (08:58 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Sat, 22 Oct 2011 12:58:19 +0000 (08:58 -0400)
commit9f7424cc86adf55c3fccaa1160b6cf5c6cfc4c02
treec913bd76e4aa6eacf6fc7c9bd7ed50f31ce15e3f
parentc54367f9d6be8e19c6e98ae7038438f0377ee138
ktest: Add another monitor flush before installing kernel

On some tests that do multiple boots (patchcheck, bisect, etc), the build
of the next kernel to run may finish before the stable kernel has finished
booting. Then the install of the new kernel will fail when it tries to connect
as the machine has not finished the boot process.

Do one more monitor flush to make sure the machine is up and running before
trying to connect to it again.

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