efi_selftest: ReinstallProtocolInterface test
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 10 Jun 2023 19:25:18 +0000 (21:25 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 16 Jun 2023 04:45:19 +0000 (06:45 +0200)
commita61e6ad76914a30a562ac01339c5d21f3283def8
tree658db5d9d6e11dcc31579567d41ad61b5590b2a6
parent12858ab216a2f3faf7e37fb5c292b64afff673cf
efi_selftest: ReinstallProtocolInterface test

Test ReinstallProtocolInterface() more rigorously.

Replacing the sole installed protocol interface must not result in deleting
the handle and creating a new one.

Check which interface is actually installed before and after
ReinstallProtocolInterface().

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_selftest/efi_selftest_register_notify.c