ktest: Add DEFINED keyword for IF statements
authorSteven Rostedt <srostedt@redhat.com>
Sat, 1 Oct 2011 02:41:14 +0000 (22:41 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 17 Oct 2011 15:54:11 +0000 (11:54 -0400)
commit9900b5dc067551fcdcaec63d013b1d95b36835ae
tree7d5b8009f6ee03e4bae24efcb802be9b620c78c9
parent3d1cc41432b0491a39a3185b52bfa1d0411bba10
ktest: Add DEFINED keyword for IF statements

Have IF statements process if a config variable or option has been
defined or not. Can use NOT DEFINED in the case for telling if
a variable or option has not been defined.

DEFAULTS IF NOT DEFINED SSH_USER
SSH_USER = root

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl
tools/testing/ktest/sample.conf