aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/ktest/sample.conf
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-07-15 21:57:25 -0400
committerSteven Rostedt <rostedt@goodmis.org>2011-07-15 21:57:25 -0400
commit35ce5952e62bc72520e6a7dbcfa4baf8c9f9eedb (patch)
tree8a9e88044c8ae0d3a2286c063d3c46e4e31664c5 /tools/testing/ktest/sample.conf
parentktest: Use Kconfig dependencies to shorten time to make min_config (diff)
downloadwireguard-linux-35ce5952e62bc72520e6a7dbcfa4baf8c9f9eedb.tar.xz
wireguard-linux-35ce5952e62bc72520e6a7dbcfa4baf8c9f9eedb.zip
ktest: Add prompt to use OUTPUT_MIN_CONFIG
If the defined OUTPUT_MIN_CONFIG in the make_min_config test exists, then give a prompt to ask the user if they want to use that config instead, as it is very often the case, especially when the test has been interrupted. The OUTPUT_MIN_CONFIG is usually the config that one wants to use to continue the test where they left off. But if START_MIN_CONFIG is defined (thus the MIN_CONFIG is not the default), then do not prompt, as it will be annoying if the user has this as one of many tests, and the test pauses waiting for input, while the user is sleeping. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/ktest/sample.conf')
-rw-r--r--tools/testing/ktest/sample.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/ktest/sample.conf b/tools/testing/ktest/sample.conf
index d096a0c80401..b8bcd14b5a4d 100644
--- a/tools/testing/ktest/sample.conf
+++ b/tools/testing/ktest/sample.conf
@@ -854,6 +854,9 @@
# this file as your new min config, and use it to continue the test.
# This file does not need to exist on start of test.
# This file is not created until a config is found that can be removed.
+# If this file exists, you will be prompted if you want to use it
+# as the min_config (overriding MIN_CONFIG) if START_MIN_CONFIG
+# is not defined.
# (required field)
#
# START_MIN_CONFIG is the config to use to start the test with.