diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-11-09 12:55:40 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-11-18 11:23:12 -0500 |
commit | 1c8a617a274c4065681d964cd5a5afb921de4a87 (patch) | |
tree | ac0ed54d6d2a8db807f3a096d7df9fa35b600a31 /tools/testing/ktest/sample.conf | |
parent | cccae1a62a81dc8e32bf787024fdcf7ef71f1285 (diff) |
ktest: Added force stop after success and failure
Added the options STOP_AFTER_SUCCESS and STOP_AFTER_FAILURE to
allow the user to give a time (in seconds) to stop the monitor
after a stack trace or login has been detected. Sometimes the
kernel constantly prints out to the console and this may cause
the test to run indefinitely.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/ktest/sample.conf')
-rw-r--r-- | tools/testing/ktest/sample.conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/testing/ktest/sample.conf b/tools/testing/ktest/sample.conf index e1272746ce8c..3408c594b2de 100644 --- a/tools/testing/ktest/sample.conf +++ b/tools/testing/ktest/sample.conf | |||
@@ -294,6 +294,18 @@ | |||
294 | # (default "login:") | 294 | # (default "login:") |
295 | #SUCCESS_LINE = login: | 295 | #SUCCESS_LINE = login: |
296 | 296 | ||
297 | # In case the console constantly fills the screen, having | ||
298 | # a specified time to stop the test after success is recommended. | ||
299 | # (in seconds) | ||
300 | # (default 10) | ||
301 | #STOP_AFTER_SUCCESS = 10 | ||
302 | |||
303 | # In case the console constantly fills the screen, having | ||
304 | # a specified time to stop the test after failure is recommended. | ||
305 | # (in seconds) | ||
306 | # (default 60) | ||
307 | #STOP_AFTER_FAILURE = 60 | ||
308 | |||
297 | # Stop testing if a build fails. If set, the script will end if | 309 | # Stop testing if a build fails. If set, the script will end if |
298 | # a failure is detected, otherwise it will save off the .config, | 310 | # a failure is detected, otherwise it will save off the .config, |
299 | # dmesg and bootlog in a directory called | 311 | # dmesg and bootlog in a directory called |