]> git.baikalelectronics.ru Git - kernel.git/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)
commitf342875fee50e15ca461a34a49e5dd37c26363cb
tree41ee29ae494dfa2fb2ba93e186767d48e0bacd21
parent3fefe97d9acb747fa82effe8d56899375dc313a1
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