[PATCH 1/4] binman: Tidy up tests for pre-load entry type

Simon Glass sjg at chromium.org
Mon Jul 24 20:44:42 CEST 2023


Drop the use of a numbered key file since numbering is just for the test
devicetree files. Also adjust the tests to avoid putting a hard-coded
path to binman in the file, using the entry arg instead.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/binman/etype/pre_load.py                |  6 +--
 tools/binman/ftest.py                         | 48 ++++++++++++++-----
 tools/binman/test/230_pre_load.dts            |  2 +-
 tools/binman/test/231_pre_load_pkcs.dts       |  2 +-
 tools/binman/test/232_pre_load_pss.dts        |  2 +-
 .../test/233_pre_load_invalid_padding.dts     |  2 +-
 .../binman/test/234_pre_load_invalid_sha.dts  |  2 +-
 .../binman/test/235_pre_load_invalid_algo.dts |  2 +-
 .../binman/test/236_pre_load_invalid_key.dts  |  2 +-
 tools/binman/test/{230_dev.key => dev.key}    |  0
 10 files changed, 46 insertions(+), 22 deletions(-)
 rename tools/binman/test/{230_dev.key => dev.key} (100%)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list