zephyr/scripts/pylib
Marcin Niestroj 8f9c28282b twister: pytest: escape expected command regex
When sending commands containing something like "AT+CFUN" the expected
regex was not escaped and as a result such regex never matched what has
been echoed over serial.

Escape all commands with re.escape() so that echoed shell commands are
always matched, even when they contain special characters (like '+' in the
example above).

Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
2024-04-02 13:28:05 -04:00
..
build_helpers scripts: pylib: build_helpers: flash_order fix 2023-10-10 15:55:58 +03:00
pytest-twister-harness twister: pytest: escape expected command regex 2024-04-02 13:28:05 -04:00
twister twister: Remove ANSI sequences before writing to handler.log 2024-03-28 06:50:55 -04:00