summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_setup.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javierm@redhat.com>2025-06-19 10:34:02 +0200
committerIlias Apalodimas <ilias.apalodimas@linaro.org>2025-07-03 11:32:49 +0300
commit4e103418bed6374b9aa43d067cee704d7e745dc9 (patch)
treef764300f1baf6866f93e2f0283f6f59c6003bb36 /lib/efi_loader/efi_setup.c
parent2fdfb802e30a1fbd65a830a283d7bd87631f08c0 (diff)
efi_selftest: Add basic partition info check to block io test
Test the EFI_PARTITION_INFO_PROTOCOL in the existing EFI_BLOCK_IO_PROTOCOL unit test. It is fairly basic, since it only checks that the values of the struct efi_partition_info .revision, .type and .system fields are correct. It doesn't check the MBR partition record information, because that's not supported by the EFI_PARTITION_INFO_PROTOCOL implementation yet. The test can be extended once the support is implemented, or if the in-memory disk image used for the test is modified to have a GPT partition type instead. Suggested-by: Tom Rini <trini@konsulko.com> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'lib/efi_loader/efi_setup.c')
0 files changed, 0 insertions, 0 deletions