linux-stable/tools/testing/ktest
Steven Rostedt 45d73a5d8a ktest: Add IF and ELSE to config sections
Add IF keyword to sections within the config. Also added an ELSE
keyword that allows different config options to be set for a given
section.

For example:

TYPE := 1
STATUS := 0

DEFAULTS IF ${TYPE}
[...]
ELSE IF ${STATUS}
[...]
ELSE
[...]

The above will process the first section as $TYPE is true. If it
was false, it would process the last section as $STATUS is false.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2011-10-17 11:54:11 -04:00
..
compare-ktest-sample.pl ktest: Added compare script to test ktest.pl to sample.conf 2010-11-18 11:23:11 -05:00
ktest.pl ktest: Add IF and ELSE to config sections 2011-10-17 11:54:11 -04:00
sample.conf ktest: Add IF and ELSE to config sections 2011-10-17 11:54:11 -04:00