ktest: Add processing of complex conditionals
authorSteven Rostedt <srostedt@redhat.com>
Mon, 17 Oct 2011 15:36:44 +0000 (11:36 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 17 Oct 2011 15:58:18 +0000 (11:58 -0400)
commit8d735212e441af855afd28ccc402fcaf12999f8d
tree8a9c7213cb8684b25ad07299fe383f2030eb3fe9
parenta9f84424be8d12e8a84b9eac112cd1152587d437
ktest: Add processing of complex conditionals

The IF statements for DEFAULTS and TEST_START sections now handle
complex statements (&&,||)

Example:

  TEST_START IF (DEFINED ALL_TESTS || ${MYTEST} == boottest) && ${MACHINE} == gandalf

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