ktest: Add check for bug or panic during reboot
authorSteven Rostedt <srostedt@redhat.com>
Thu, 19 Jul 2012 20:08:33 +0000 (16:08 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 19 Jul 2012 20:11:21 +0000 (16:11 -0400)
commit8a80c72711a9b78af433013067848c0a5473a484
treefcbdbe902a4ac4d1566361a81a9a9866b28c99d7
parent407b95b7a085b5c1622033edc2720bb05f973317
ktest: Add check for bug or panic during reboot

Usually the target is booted into a dependable kernel when a test
starts. The test will install the test kernel and reboot the box. But
there may be a time that the kernel is running an unreliable kernel and
the reboot may crash.

Have ktest detect crashes on a reboot and force a power-cycle instead.

This can usually happen if a test kernel was installed to run manual
tests, but the user forgot to reboot to the known good kernel.

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