Browse Source

autotest: move to state outside when we leave log structure

No vertical whitespace allowed in the structures...

We concatenate all of the LogStructure files; without this we remain in
state_inside and try to parse every line in the concatenation as if it
were a log structure definition
c415-sdk
Peter Barker 4 years ago committed by Andrew Tridgell
parent
commit
9d681eecc4
  1. 1
      Tools/autotest/common.py

1
Tools/autotest/common.py

@ -1828,6 +1828,7 @@ class AutoTest(ABC): @@ -1828,6 +1828,7 @@ class AutoTest(ABC):
continue
m = re.match(r"\s*{(.*)\\", line)
if m is None:
state = state_outside
continue
partial_line = m.group(1)
linestate = linestate_within

Loading…
Cancel
Save