]> Pileus Git - ~andy/linux/commit
ktest: Fix ELSE IF statements
authorSteven Rostedt <srostedt@redhat.com>
Wed, 26 Sep 2012 18:48:17 +0000 (14:48 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 26 Sep 2012 18:48:17 +0000 (14:48 -0400)
commit95f57838418358e93212e9dddd60d3502c7f8e2e
tree41ee29ae494dfa2fb2ba93e186767d48e0bacd21
parent979570e02981d4a8fc20b3cc8fd651856c98ee9d
ktest: Fix ELSE IF statements

The ELSE IF statements do not work as expected if another ELSE statement
follows. This is because the $if_set is not set. If the ELSE IF
condition is true, the following ELSE should be ignored. But because the
$if_set is not set, the following ELSE will also be executed.

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