[U-Boot-Users] [RFC PATCH] Add u-boot command regression tests.

Mike Frysinger vapier at gentoo.org
Wed Nov 28 19:11:07 CET 2007


On Monday 26 November 2007, Jerry Van Baren wrote:
> My experience with expect is that it worked well for simple cases, but
> when I started matching more patterns and more complex patterns, it
> would get harder and harder to match reliably.  Also, its asynchronous
> timing-based capture (which causes "capture breaks" in different places
> when you least expect it) drove me crazy.  Then to debug the pattern
> matching (or not matching, or mismatching, as the case usually was) was
> difficult.

i think that's really nature of the beast and not a deficiency in expect.  how 
do you know when things stop coming in ?  you dont ... so write properly 
anchored input matches and things work nicely
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20071128/8dda484f/attachment.pgp 


More information about the U-Boot mailing list