]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_selftest: add tests for QueryVariableInfo at runtime
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Thu, 25 Apr 2024 05:18:20 +0000 (08:18 +0300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 1 May 2024 06:39:16 +0000 (08:39 +0200)
commit6b2aaf8d031a364ea35b3e4e89a55ac9a7c5dc01
treeba8b0ba40d8b0b1827b83d440c6a8989ab4e09f6
parent9677192c145f2144592892f13de0e2069bcdf4ba
efi_selftest: add tests for QueryVariableInfo at runtime

Since we support QueryVariableInfo at runtime now add the relevant
tests. Since we want those to be reusable at bootime, add them
in a separate file

Add tests for
- Test QueryVariableInfo returns EFI_SUCCESS
- Test null pointers for the function arguments
- Test invalid combination of attributes

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/efi_selftest.h
lib/efi_selftest/Makefile
lib/efi_selftest/efi_selftest_variables_common.c [new file with mode: 0644]
lib/efi_selftest/efi_selftest_variables_runtime.c