aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/ktest/sample.conf (follow)
AgeCommit message (Collapse)AuthorFilesLines
2010-11-18ktest: Added force stop after success and failureSteven Rostedt1-0/+12
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>
2010-11-18ktest: Updated the sample.conf for the latest optionsSteven Rostedt1-1/+89
Added documentation for SSH_EXEC, SCP_TO_TARGET, REBOOT, and CONFIG_BISECT and friends. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2010-11-18ktest: Update the sample config file with more documentationSteven Rostedt1-91/+103
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2010-11-18ktest: New TEST_START instead of using [], and use real SHA1sSteven Rostedt1-94/+251
Change the config to use TEST_START where the options after a TEST_START automatically get the [] as it is read and they do not need to exist in the config file; TEST_START MIN_CONFIG = myconfig is the same as MIN_CONFIG[1] = myconfig The benefit is that you no longer need to keep track of test numbers with tests. Also process the commit ids that are passed to the options to get the actually SHA1 so it is no longer relative to the branch. Ie, saying HEAD will get the current SHA1 and then that will be used, and will work even if another branch is checked out. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2010-11-18ktest: Add poweroff after halt and powercycle after rebootSteven Rostedt1-0/+18
Added the options POWEROFF_AFTER_HALT to handle boxes that do not really shut off after a halt is called. Added POWERCYCLE_AFTER_REBOOT to force a power cycle for boxes that don't reboot but get stuck during the reboot. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2010-11-18ktest: Add POST_INSTALL to allow initrds to be createdSteven Rostedt1-0/+5
Add a POST_INSTALL option that runs after the build and install but before rebooting to the test kernel. This alls the user to run a script that will install an initrd (or anything else that may be special) before booting. An environment variable KERNEL_VERSION is set. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2010-11-18ktest: Added sample.conf, new %default option formatSteven Rostedt1-0/+330
Added sample.conf as a nice document to show new users. Use a %default hash to separate out the options that are default and allow us to complain about options being set twice. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>