aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/ktest/sample.conf
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-09-30 21:00:00 -0400
committerSteven Rostedt <rostedt@goodmis.org>2011-10-17 11:54:11 -0400
commit2ed3b16128e93309758e62937e7f137ac9844227 (patch)
tree60d7b1ecf43121c662ffceac558232161a1e5f20 /tools/testing/ktest/sample.conf
parentab7a3f52cef5ff1c784de7adfbda3421b10754a4 (diff)
ktest: Add INCLUDE keyword to include other config files
Have the reading of the config file allow reading of other config files using the INCLUDE keyword. This allows multiple config files to share config options. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/ktest/sample.conf')
-rw-r--r--tools/testing/ktest/sample.conf32
1 files changed, 30 insertions, 2 deletions
diff --git a/tools/testing/ktest/sample.conf b/tools/testing/ktest/sample.conf
index 4e8fb91fd517..ae2a93c732ac 100644
--- a/tools/testing/ktest/sample.conf
+++ b/tools/testing/ktest/sample.conf
@@ -122,8 +122,36 @@
122# ELSE 122# ELSE
123# BUILD_TYPE = useconfig:${CONFIG_DIR}/config-64 123# BUILD_TYPE = useconfig:${CONFIG_DIR}/config-64
124# 124#
125 125#
126 126# INCLUDE file
127#
128# The INCLUDE keyword may be used in DEFAULT sections. This will
129# read another config file and process that file as well. The included
130# file can include other files, add new test cases or default
131# statements. Config variables will be passed to these files and changes
132# to config variables will be seen by top level config files. Including
133# a file is processed just like the contents of the file was cut and pasted
134# into the top level file, except, that include files that end with
135# TEST_START sections will have that section ended at the end of
136# the include file. That is, an included file is included followed
137# by another DEFAULT keyword.
138#
139# Unlike other files referenced in this config, the file path does not need
140# to be absolute. If the file does not start with '/', then the directory
141# that the current config file was located in is used. If no config by the
142# given name is found there, then the current directory is searched.
143#
144# INCLUDE myfile
145# DEFAULT
146#
147# is the same as:
148#
149# INCLUDE myfile
150#
151# Note, if the include file does not contain a full path, the file is
152# searched first by the location of the original include file, and then
153# by the location that ktest.pl was executed in.
154#
127 155
128#### Config variables #### 156#### Config variables ####
129# 157#