linux/tools/testing/ktest
Steven Rostedt (Red Hat) d684553623 ktest: Search for linux banner for successful reboot
Sometimes when a test kernel passed fine, but on reboot it crashed,
ktest could get stuck and not proceed. This would be frustrating if you
let a test run overnight to find out the next morning that it was stuck
on the first test.

To fix this, I made reboot check for the REBOOT_SUCCESS_LINE. If the
line was not detected, then it would power cycle the box.

What it didn't cover was if the REBOOT_SUCCESS_LINE wasn't defined or if
a 'good' kernel did not display the line. Instead have it search for the
Linux banner "Linux version". The reboot just needs to get to the start
of the next kernel, it does not need to test if the next kernel makes it
to a boot prompt.

After we find the next kernel has booted, then we just wait for either
the REBOOT_SUCCESS_LINE to appear or the timeout.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2013-02-05 10:00:20 -05:00
..
examples ktest: Add make_warnings_file and process full warnings 2013-01-31 10:24:56 -05:00
compare-ktest-sample.pl ktest: Fix compare script to test if options are not documented 2011-12-22 22:06:59 -05:00
ktest.pl ktest: Search for linux banner for successful reboot 2013-02-05 10:00:20 -05:00
sample.conf ktest: Add make_warnings_file and process full warnings 2013-01-31 10:24:56 -05:00