Invalid buffer handling causes ExpectJ not to see a patten
Brought to you by:
johanwalles,
kerneldebugger
I found this issue while working on the rhevm-api project. See the folowing mailing list posting for details:
https://fedorahosted.org/pipermail/rhevm-api/2010-December/000621.html
The posting below contains a patch as well, which i have duplicated in this ticket.
So far, the patch is working for me but i haven't yet given it a full rigorous testing.
Patch that seems to resolve the issue
I have observed this issue as well, and implemented the patch below, however it did not fix anything. I am executing the same sequence of expect's on the same data stream and it will miss the value about 50% of the time.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
The following change (based on spryspectre's change) works for me:
https://github.com/tgbyte/expectj/commit/385faac8c24d8ce8365a08968b8d535b1050c9cb