1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-30 17:01:19 +01:00

Merge pull request #21114 from maribu/tests/sys/shell

tests/sys/shell: improve test automation
This commit is contained in:
benpicco 2024-12-31 17:26:51 +00:00 committed by GitHub
commit 74eddd6d1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -201,7 +201,7 @@ def check_help(child):
# we can detect duplicates
while len(cmds_actual) > 0:
# parse line into command and description
child.expect(r"([a-z0-9_-]*)[ \t]*(.*)\r\n")
child.expect(r"([a-z0-9_-]*)[ \t]*([^\r\n]*)\r\n")
cmd = child.match.group(1)
desc = child.match.group(2)