]> git.baikalelectronics.ru Git - uboot.git/commit
test: vboot: add tests for multiple required keys
authorThirupathaiah Annapureddy <thiruan@linux.microsoft.com>
Mon, 17 Aug 2020 06:01:10 +0000 (23:01 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 13 Oct 2020 01:30:37 +0000 (21:30 -0400)
commit81c10374ce784ece09454a05b1b29d77d2549664
tree72e7dc49aed43444f66ed0bd21a2ce62bd852b8e
parent51ce3a515300debcd8391eab3a6c5d61c7e62cc9
test: vboot: add tests for multiple required keys

This patch adds vboot tests to verify the support for multiple
required keys using new required-mode DTB policy.

This patch also fixes existing test where dev
key is assumed to be marked as not required, although
it is marked as required.

Note that this patch re-added sign_fit_norequire().
sign_fit_norequire() was removed as part of the following:
commit 7bbe2fc994b0 ("test: vboot: Fix pylint errors").
This patch leverages sign_fit_norequire() to fix the
existing bug.

Signed-off-by: Thirupathaiah Annapureddy <thiruan@linux.microsoft.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/py/tests/test_vboot.py