]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - tools/testing/ktest/ktest.pl
Merge remote-tracking branch 'kbuild/for-next'
[karo-tx-linux.git] / tools / testing / ktest / ktest.pl
index 0ed73b5ebbfc1c7277ce1702f4fa2bf033732e6d..b51d787176d323bb3a2d6f0016b2d2cf4db16d3d 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 = "";