Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 715a8dc06756dd666eb57e86dec25752a6fc60b6
https://github.com/tianocore/edk2/commit/715a8dc06756dd666eb57e86dec25752a6fc60b6
Author: Michael D Kinney <[email protected]>
Date: 2026-01-21 (Wed, 21 Jan 2026)
Changed paths:
M
SecurityPkg/Library/SecureBootVariableLib/UnitTest/SecureBootVariableLibUnitTest.c
Log Message:
-----------
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 <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits