tradefed: fix the problem for the removal of non xml supported characters

need to use the last position for next time
when the matched pattern removed.
otherwise, the next pattern just after the pattern matched this time
might be ignored. Like this following example:
    test_helper.cc:55      [0m [31mConsumer unexpectedly disconnected from the service (errno: 0, Success)[0m
after the first removal:
    test_helper.cc:55      [0m [31mConsumer unexpectedly disconnected from the service (errno: 0, Success)[0m
we still need to search from the position after "test_helper.cc:55      ".

Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2 files changed
tree: 643d3fe4b793890a43bcf583ce70a4636fd28725
  1. .reuse/
  2. automated/
  3. docs/
  4. LICENSES/
  5. manual/
  6. mkdocs_plugin/
  7. plans/
  8. test/
  9. .gitignore
  10. .readthedocs.yml
  11. .travis.yml
  12. CODEOWNERS
  13. COPYING
  14. COPYRIGHTS
  15. mkdocs.yml
  16. README.md
  17. sanity-check.sh
  18. test.sh
  19. validate.py
README.md

Build status

Build Status

Test Definitions

A set of testing scripts designed to work with LAVA. Also contains test-runner script that allows execoution outside LAVA.

More details in docs