Skip to content

Commit

Permalink
Merge pull request #21114 from maribu/tests/sys/shell
Browse files Browse the repository at this point in the history
tests/sys/shell: improve test automation
  • Loading branch information
benpicco authored Dec 31, 2024
2 parents 95fe972 + 8903c82 commit 74eddd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/sys/shell/tests/01-run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 74eddd6

Please sign in to comment.