diff options
| author | Michael D Kinney <michael.d.kinney@intel.com> | 2026-01-14 08:45:22 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-01-21 12:15:06 +0300 |
| commit | 715a8dc06756dd666eb57e86dec25752a6fc60b6 (patch) | |
| tree | c504b8deebc91da7a5a411f42fa226e1eee7261f /MdeModulePkg/Library/PiDxeS3BootScriptLib | |
| parent | 43e0552a74622a9e63d5bebc5a86e5ea4c33ceb5 (diff) | |
| download | edk2-715a8dc06756dd666eb57e86dec25752a6fc60b6.tar.xz | |
SecurityPkg/Library/SecureBootVariableLib/UnitTest: Cmocka use issues
Fix mocked versions of GetVariable() and SetVariable().
* VendorGuid parameter use expect_memory() not expect_value()
* MockSetVariable() use check_expected() for Attributes parameter
* MockSetVariable() use check_expected_ptr() for Data parameter
* Calls to MockGetVariable() use (UINTN) cast for will_return()
of pointer to data buffer returned.
Issues found with Linux GCC NOOPT IA32 builds of unit tests.
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib')
0 files changed, 0 insertions, 0 deletions
