Skip to content

[bcmshell.py] Match extra whitespace before prompt in regex#3

Merged
jleveque merged 1 commit intosonic-net:masterfrom
jleveque:bcmshell
Apr 5, 2018
Merged

[bcmshell.py] Match extra whitespace before prompt in regex#3
jleveque merged 1 commit intosonic-net:masterfrom
jleveque:bcmshell

Conversation

@jleveque
Copy link
Contributor

@jleveque jleveque commented Apr 5, 2018

New SAI appears to have changed the amount of whitespace in the Broadcom shell.

Previous output: bcmshell\r\ndrivshell>

New output: bcmshell\r\n\r\r\ndrivshell>

This change caused bcmshell.py to consistently fail.

This PR now matches any additional whitespace between bcmshell\r\n and drivshell>

@jleveque jleveque added the Bug label Apr 5, 2018
@jleveque jleveque self-assigned this Apr 5, 2018
@jleveque jleveque requested a review from lguohan April 5, 2018 00:37
@jleveque jleveque merged commit 560b465 into sonic-net:master Apr 5, 2018
@jleveque jleveque deleted the bcmshell branch April 5, 2018 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants