test/py: efi_capsule: check the results in case of CAPSULE_AUTHENTICATE
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Wed, 9 Feb 2022 10:10:42 +0000 (19:10 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 11 Feb 2022 19:07:55 +0000 (20:07 +0100)
commite012550cd7d6cde866b848cf3a0543ce50204a07
tree5d566fdcb44d441efb0815d59120a1d588bdccd6
parente9b74979b462f56569d40b431d2c8799ef7f5f69
test/py: efi_capsule: check the results in case of CAPSULE_AUTHENTICATE

Before the capsule authentication is supported, this test script works
correctly, but with the feature enabled, most tests will fail due to
unsigned capsules.
So check the results depending on CAPSULE_AUTHENTICATE or not.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/py/tests/test_efi_capsule/test_capsule_firmware.py