]> git.sur5r.net Git - u-boot/commit
test/py: fix off-by-one error in spawn matching code
authorStephen Warren <swarren@nvidia.com>
Sat, 6 Feb 2016 01:04:42 +0000 (18:04 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 9 Feb 2016 22:41:19 +0000 (15:41 -0700)
commitd8926811fd8b0d48e3bc99627c95544013bd3a7b
treec6dd11c57f3478c0deceffe851678cb54912b46b
parent83357fd5c2ec11b45607dfe35ba5fe5e44d1eee0
test/py: fix off-by-one error in spawn matching code

A regex match object's .end() value is already the index after the match,
not the index of the last character in the match, so there's no need to
add 1 to point past the match.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
test/py/u_boot_spawn.py