···11+#22+# This config is an example usage of ktest.pl with a kvm guest33+#44+# The guest is called 'Guest' and this would be something that55+# could be run on the host to test a virtual machine target.66+77+MACHINE = Guest88+99+1010+# Use virsh to read the serial console of the guest1111+CONSOLE = virsh console ${MACHINE}1212+1313+#*************************************#1414+# This part is the same as test.conf #1515+#*************************************#1616+1717+# The include files will set up the type of test to run. Just set TEST to1818+# which test you want to run.1919+#2020+# TESTS = patchcheck, randconfig, boot, test, config-bisect, bisect, min-config2121+#2222+# See the include/*.conf files that define these tests2323+#2424+TEST := patchcheck2525+2626+# Some tests may have more than one test to run. Define MULTI := 1 to run2727+# the extra tests.2828+MULTI := 02929+3030+# In case you want to differentiate which type of system you are testing3131+BITS := 643232+3333+# REBOOT = none, error, fail, empty3434+# See include/defaults.conf3535+REBOOT := empty3636+3737+3838+# The defaults file will set up various settings that can be used by all3939+# machine configs.4040+INCLUDE include/defaults.conf4141+4242+4343+#*************************************#4444+# Now we are different from test.conf #4545+#*************************************#4646+4747+4848+# The example here assumes that Guest is running a Fedora release4949+# that uses dracut for its initfs. The POST_INSTALL will be executed5050+# after the install of the kernel and modules are complete.5151+#5252+POST_INSTALL = ${SSH} /sbin/dracut -f /boot/initramfs-test.img $KERNEL_VERSION5353+5454+# Guests sometimes get stuck on reboot. We wait 3 seconds after running5555+# the reboot command and then do a full power-cycle of the guest.5656+# This forces the guest to restart.5757+#5858+POWERCYCLE_AFTER_REBOOT = 35959+6060+# We do the same after the halt command, but this time we wait 20 seconds.6161+POWEROFF_AFTER_HALT = 206262+6363+6464+# As the defaults.conf file has a POWER_CYCLE option already defined,6565+# and options can not be defined in the same section more than once6666+# (all DEFAULTS sections are considered the same). We use the6767+# DEFAULTS OVERRIDE to tell ktest.pl to ignore the previous defined6868+# options, for the options set in the OVERRIDE section.6969+#7070+DEFAULTS OVERRIDE7171+7272+# Instead of using the default POWER_CYCLE option defined in7373+# defaults.conf, we use virsh to cycle it. To do so, we destroy7474+# the guest, wait 5 seconds, and then start it up again.7575+# Crude, but effective.7676+#7777+POWER_CYCLE = virsh destroy ${MACHINE}; sleep 5; virsh start ${MACHINE}7878+7979+8080+DEFAULTS8181+8282+# The following files each handle a different test case.8383+# Having them included allows you to set up more than one machine and share8484+# the same tests.8585+INCLUDE include/patchcheck.conf8686+INCLUDE include/tests.conf8787+INCLUDE include/bisect.conf8888+INCLUDE include/min-config.conf