
On Fri, 14 Jul 2023 at 03:14, christian.taedcke-oss@weidmueller.com wrote:
From: Christian Taedcke christian.taedcke@weidmueller.com
Add tests to reach 100% code coverage for the added etype encrypted.
Signed-off-by: Christian Taedcke christian.taedcke@weidmueller.com
Changes in v5:
- add comments to test functions
Changes in v4:
- fix failing test testEncryptedKeyFile
Changes in v3:
- rebase on u-boot-dm/mkim-working
- remove unnecessary test testEncryptedNoContent
- wrap some lines at 80 cols
Changes in v2:
- adapt tests for changed entry implementation
tools/binman/ftest.py | 58 +++++++++++++++++++ tools/binman/test/291_encrypted_no_algo.dts | 15 +++++ .../test/292_encrypted_invalid_iv_file.dts | 18 ++++++ .../binman/test/293_encrypted_missing_key.dts | 23 ++++++++ .../binman/test/294_encrypted_key_source.dts | 24 ++++++++ tools/binman/test/295_encrypted_key_file.dts | 24 ++++++++ 6 files changed, 162 insertions(+) create mode 100644 tools/binman/test/291_encrypted_no_algo.dts create mode 100644 tools/binman/test/292_encrypted_invalid_iv_file.dts create mode 100644 tools/binman/test/293_encrypted_missing_key.dts create mode 100644 tools/binman/test/294_encrypted_key_source.dts create mode 100644 tools/binman/test/295_encrypted_key_file.dts
Reviewed-by: Simon Glass sjg@chromium.org