diff --git a/tests/sys/shell/tests/01-run.py b/tests/sys/shell/tests/01-run.py index a817fce2693b..48a75627ab79 100755 --- a/tests/sys/shell/tests/01-run.py +++ b/tests/sys/shell/tests/01-run.py @@ -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)