ktest: Allow perl regex expressions in conditional statements
authorSteven Rostedt <srostedt@redhat.com>
Mon, 30 Jul 2012 18:37:01 +0000 (14:37 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 30 Jul 2012 18:37:01 +0000 (14:37 -0400)
commit8fddbe9bbfe5771a9d9e5d0c6f5bae3213c20645
treeb1bbb5723817b4b5915fbb5c800dc6c3d54de53c
parent9b1d367dbbeb6646f04a8865ecc2bc454f7dd88f
ktest: Allow perl regex expressions in conditional statements

Add '=~' and '!~' to the list of allowed conditionals for DEFAULT and
TEST_START section if statements.

ie.

 TEST_START IF TEST =~ .*test$

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