Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 5, 2018
Merged

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

merged 1 commit into from
Apr 5, 2018

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