[PATCH 3/3] binman: Add tests for etype encrypted

Simon Glass sjg at chromium.org
Thu Jun 29 21:09:41 CEST 2023


On Tue, 27 Jun 2023 at 08:39, <christian.taedcke-oss at weidmueller.com> wrote:
>
> From: Christian Taedcke <christian.taedcke at weidmueller.com>
>
> Add tests to reach 100% code coverage for the added etype encrypted.
>
> Signed-off-by: Christian Taedcke <christian.taedcke at weidmueller.com>
> ---
>
>  tools/binman/ftest.py                         | 69 +++++++++++++++++++
>  .../binman/test/282_encrypted_no_content.dts  | 15 ++++
>  tools/binman/test/283_encrypted_no_algo.dts   | 19 +++++
>  .../test/284_encrypted_invalid_iv_file.dts    | 22 ++++++
>  tools/binman/test/285_encrypted.dts           | 29 ++++++++
>  tools/binman/test/286_encrypted_key_file.dts  | 30 ++++++++
>  .../test/287_encrypted_iv_name_hint.dts       | 30 ++++++++
>  7 files changed, 214 insertions(+)
>  create mode 100644 tools/binman/test/282_encrypted_no_content.dts
>  create mode 100644 tools/binman/test/283_encrypted_no_algo.dts
>  create mode 100644 tools/binman/test/284_encrypted_invalid_iv_file.dts
>  create mode 100644 tools/binman/test/285_encrypted.dts
>  create mode 100644 tools/binman/test/286_encrypted_key_file.dts
>  create mode 100644 tools/binman/test/287_encrypted_iv_name_hint.dts

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


More information about the U-Boot mailing list