diff options
| author | Steven Rostedt <srostedt@redhat.com> | 2011-09-30 18:00:23 -0400 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2011-10-17 11:54:10 -0400 |
| commit | 2b803365a6fa177ea7e1f64f645be1cb5dd39d55 (patch) | |
| tree | 88065b809c9ff127329fd6e633bec2859c9719b8 /tools/testing/ktest/sample.conf | |
| parent | e0a8742e3d4b7649be2ca6f22e7d45153505fc81 (diff) | |
ktest: Add option REBOOT_SUCCESS_LINE to stop waiting after a reboot
When ktest.pl reboots, it will usuall wait SLEEP_TIME seconds of idle
console before starting the next test. By setting the
REBOOT_SUCCESS_LINE, ktest will not wait SLEEP_TIME when it detects the
line while rebooting to a new kernel.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/ktest/sample.conf')
| -rw-r--r-- | tools/testing/ktest/sample.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/testing/ktest/sample.conf b/tools/testing/ktest/sample.conf index b3e0dc11fc8a..67bc4e06922c 100644 --- a/tools/testing/ktest/sample.conf +++ b/tools/testing/ktest/sample.conf | |||
| @@ -423,6 +423,14 @@ | |||
| 423 | # (default "login:") | 423 | # (default "login:") |
| 424 | #SUCCESS_LINE = login: | 424 | #SUCCESS_LINE = login: |
| 425 | 425 | ||
| 426 | # To speed up between reboots, defining a line that the | ||
| 427 | # default kernel produces that represents that the default | ||
| 428 | # kernel has successfully booted and can be used to pass | ||
| 429 | # a new test kernel to it. Otherwise ktest.pl will wait till | ||
| 430 | # SLEEP_TIME to continue. | ||
| 431 | # (default undefined) | ||
| 432 | #REBOOT_SUCCESS_LINE = login: | ||
| 433 | |||
| 426 | # In case the console constantly fills the screen, having | 434 | # In case the console constantly fills the screen, having |
| 427 | # a specified time to stop the test after success is recommended. | 435 | # a specified time to stop the test after success is recommended. |
| 428 | # (in seconds) | 436 | # (in seconds) |
| @@ -488,6 +496,8 @@ | |||
| 488 | # another test. If a reboot to the reliable kernel happens, | 496 | # another test. If a reboot to the reliable kernel happens, |
| 489 | # we wait SLEEP_TIME for the console to stop producing output | 497 | # we wait SLEEP_TIME for the console to stop producing output |
| 490 | # before starting the next test. | 498 | # before starting the next test. |
| 499 | # | ||
| 500 | # You can speed up reboot times even more by setting REBOOT_SUCCESS_LINE. | ||
| 491 | # (default 60) | 501 | # (default 60) |
| 492 | #SLEEP_TIME = 60 | 502 | #SLEEP_TIME = 60 |
| 493 | 503 | ||
