[U-Boot] [PATCH 2/9] test/py: fix spawn.expect multiple match handling
Simon Glass
sjg at chromium.org
Fri Jan 29 04:47:02 CET 2016
On 27 January 2016 at 23:57, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Stephen Warren <swarren at nvidia.com>
>
> Multiple patterns may be passed to spawn.expect(). The pattern which
> matches at the earliest position should be designated as the match. This
> aspect works correctly. When multiple patterns match at the same position,
> priority should be given the the earliest entry in the list of patterns.
> This aspect does not work correctly. This patch fixes it.
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---
> test/py/u_boot_spawn.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list