]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - tools/testing/ktest/ktest.pl
Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[~shefty/rdma-dev.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 = "";