binman: Complete test coverage of comp_util
authorSimon Glass <sjg@chromium.org>
Mon, 10 Jan 2022 03:14:10 +0000 (20:14 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 25 Jan 2022 19:36:11 +0000 (12:36 -0700)
commita00d9713e4c01de7e7753c9394a95dca27e47e21
tree6e83774eff49fb7f7c4d634281d3e985700c641a
parent4f9ee83ba96c6c4e5e647f26eb4a124544ce61d7
binman: Complete test coverage of comp_util

Drop the unused gzip code, update comments and add a test for an
invalid algorithm. The temporary file is not needed now, so drop that
also.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/comp_util.py
tools/binman/ftest.py