ktest update for v3.7
Fix parsing of ELSE IF in reading config file. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAABAgAGBQJQaZ0mAAoJEOdOSU1xswtMVzsIAIXFrMbOkDyo3brW0IVv3z1x EnZ6NPzIoEnQbAsiLT52tFJH3+C+c7vjKrEQx8OxsDaElv+pAuR9TOPJlxoGBd21 wzQNXtdxDcGQKgWvOn/9ebkBAFe4GnWSWZc+LykI8QioQAitSIJfTu38a4Dyu2pG KZqpd+LHDeE+N5jg/tmT3sVCYOmR6Oui9rzqkhkVoGNlNZ6Q3ndPAAcv6A4lf7z8 4UOAp/B8f6wbJblMPCjwcle1rMk6gfQ7Kcbli/Xm7U7cBwNhv/HJwWk9Zh/LrUjM 3RVWJ1mXNVp0cTTKfAHrAWEWgm+vJtIkItnSWkkJnU3qwYltE0vs/CwIHOkeAFc= =lE0h -----END PGP SIGNATURE----- Merge tag 'ktest-v3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest Pull ktest fix from Steven Rostedt: "ktest has one fix needed for this merge window - fix parsing of ELSE IF in reading config file" * tag 'ktest-v3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest: ktest: Fix ELSE IF statements
This commit is contained in:
commit
6977b4c773
|
@ -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 = "";
|
||||
|
|
Loading…
Reference in New Issue