[Also sent by mail to Noah on 2007-11-18]
Some fixes related to the expect_exact() patches I sent back in June.
As you see, they are against pexpect, SVN 487.
- Bug fix: expect_exact() was broken for a single TIMEOUT or EOF pattern,
and for lists of patterns, where TIMEOUT or EOF were in the list,
before a normal string pattern.
- Added tests to expose these bugs (by splicing into those tests
which excercised expect() and didn't use REs).
- Added some more tests for regressions since 2.1, in which pattern
is chosen as the match when many match -- something Noah brought up
earlier this year. I plan to send another patch to "fix" this later
today.
/Jörgen
<grahn+pexpect@snipabacken.dyndns.org>
pexpect-487-expect_exact-bugs.patch
It seems this patch got accepted. Thanks!