Clear Expect's accumulator after login to start from a clean slate #9

Merged
merged 1 commit into from Aug 29, 2012

Conversation

Projects
None yet
2 participants
Contributor

jeremiahsnapp commented Aug 29, 2012

Some devices (my Pix 515e v6.35) give two consecutive prompts after login.
This breaks the normal Expect flow and causes unnecessary failure.
By clearing Expect's accumulator immediately after login we can help
ensure that subsequent Expect commands will be starting from a clean slate.

@jeremiahsnapp jeremiahsnapp Clear Expect's accumulator after login to start from a clean slate
Some devices give two consecutive prompts after login.
This breaks the normal Expect flow and causes unnecessary failure.
By clearing Expect's accumulator immediately after login we can help
ensure that subsequent Expect commands will be starting from a clean slate.
24576db

@ssinyagin ssinyagin added a commit that referenced this pull request Aug 29, 2012

@ssinyagin ssinyagin Merge pull request #9 from jeremiahsnapp/clear_accum
Clear Expect's accumulator after login to start from a clean slate
41498ff

@ssinyagin ssinyagin merged commit 41498ff into ssinyagin:master Aug 29, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment