test/py: match prompt only at line boundaries
authorStephen Warren <swarren@wwwdotorg.org>
Wed, 17 Aug 2016 01:58:59 +0000 (19:58 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 20 Aug 2016 18:03:24 +0000 (14:03 -0400)
commit4ba58bdabd0ad8356401e5221e8377ebd412362d
treeb80de6d8be6d3dab36a9f70632e710e5da153e23
parentfc18e9b3d5507845ea8a60a101ee3a368316068e
test/py: match prompt only at line boundaries

This prevents capture of command output from terminating early on boards
that use a simple prompt (e.g. "=> ") that appears in the middle of
command output (e.g. crc32's "... ==> 2fa737e0").

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Tested-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
test/py/u_boot_console_base.py