• S
    ktest: Add IF and ELSE to config sections · 45d73a5d
    Steven Rostedt 提交于
    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: NSteven Rostedt <rostedt@goodmis.org>
    45d73a5d
ktest.pl 66.5 KB