]> git.baikalelectronics.ru Git - uboot.git/commit
tools: Update python "help" tests to cope with "more" oddities
authorTom Rini <trini@konsulko.com>
Tue, 16 Jan 2018 20:29:50 +0000 (15:29 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 16 Jan 2018 21:15:25 +0000 (16:15 -0500)
commit86de065793ab1099bcc789450b966f803424d6e8
treee0716dec146d7a15295e6e6d0d645d3f8f5bc676
parentbdbf38ecc1b7b150a7b3a26cf0ed59b66595b66d
tools: Update python "help" tests to cope with "more" oddities

In some cases when "more" is told to page a given file it will prepend
the output with:
::::::::::::::
/PATH/TO/THE/FILE
::::::::::::::

And when this happens the output will not match the expected length.
Further, if we use a different pager we will instead fail the coverage
tests as we will not have 100% coverage.  Update the help test to remove
the string in question.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
tools/binman/ftest.py
tools/buildman/func_test.py