]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - tools/testing/ktest/ktest.pl
Merge tag 'ktest-v3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux...
[karo-tx-linux.git] / tools / testing / ktest / ktest.pl
index 52b7959cd513dc358e57376528abcf41b36f4f6d..c05bcd293d8c636798b21207027c925a335d7cea 100755 (executable)
@@ -840,7 +840,9 @@ sub __read_config {
 
                if ($rest =~ /\sIF\s+(.*)/) {
                    # May be a ELSE IF section.
-                   if (!process_if($name, $1)) {
+                   if (process_if($name, $1)) {
+                       $if_set = 1;
+                   } else {
                        $skip = 1;
                    }
                    $rest = "";