ktest: Fix parsing of config section lines
authorSteven Rostedt <srostedt@redhat.com>
Mon, 17 Oct 2011 15:06:29 +0000 (11:06 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 17 Oct 2011 15:58:15 +0000 (11:58 -0400)
commita9f84424be8d12e8a84b9eac112cd1152587d437
treed387036bbfb7cda150a3e0e1e7a778cbe1eb1364
parentac6974c76e66c2f9b8b8a23b974c5f3d94302e81
ktest: Fix parsing of config section lines

The order for some of the keywords on a section line
(TEST_START or DEFAULTS) does not really matter. Simply need
to remove the keyword from the line as we process it and
evaluate the next keyword in the line. By removing the keywords
as we find them, we do not need to keep track of where on the
line they were found.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl