Files
u-boot/lib
Ilias Apalodimas 5669591dd8 efi_selftests: fix protocol repeated selftesting
Running the protocols  selftest more than one times fails with

=> setenv efi_selftest 'manage protocols' && bootefi selftest
Testing EFI API implementation
Selected test: 'manage protocols'
Setting up 'manage protocols'
Setting up 'manage protocols' succeeded
Executing 'manage protocols'
Executing 'manage protocols' succeeded
Tearing down 'manage protocols'
Tearing down 'manage protocols' succeeded
Summary: 0 failures

=> bootefi selftest
Testing EFI API implementation
Selected test: 'manage protocols'
Setting up 'manage protocols'
lib/efi_selftest/efi_selftest_manageprotocols.c(88):
ERROR: InstallProtocolInterface failed
lib/efi_selftest/efi_selftest.c(89):
ERROR: Setting up 'manage protocols' failed
Tearing down 'manage protocols'
Tearing down 'manage protocols' succeeded
Summary: 1 failures

The reason is that we don't set the handles to NULL after deleting and
freeing them.  As a result the subsequent protocol installation will try
to use an existing handle which we just removed that from our object list.

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2023-06-16 06:48:46 +02:00
..
2022-01-18 08:31:02 -05:00
2022-07-11 14:58:57 -04:00
2023-02-11 12:22:34 -05:00
2022-07-26 02:30:56 -06:00
2020-05-18 21:19:18 -04:00
2022-01-19 18:11:34 +01:00
2023-01-04 13:17:42 +01:00
2019-12-02 18:23:07 -05:00
2022-08-12 08:14:23 -04:00
2019-10-31 07:22:53 -04:00
2020-10-30 10:56:11 -04:00
2023-01-20 12:27:24 -05:00
2021-09-04 12:26:01 -04:00
2023-05-11 10:25:29 +08:00
2022-03-15 16:19:29 -04:00
2023-05-11 10:25:29 +08:00
2019-12-06 16:44:20 -05:00
2020-05-18 21:19:18 -04:00
2023-01-16 18:01:10 +08:00
2021-07-14 16:57:35 -04:00
2020-05-18 21:19:18 -04:00
2020-08-24 14:11:31 -04:00
2022-10-27 09:10:08 -04:00
2023-02-11 12:22:34 -05:00
2021-07-15 18:42:05 -04:00
2022-01-19 18:11:34 +01:00
2023-02-11 12:22:35 -05:00
2019-05-05 08:48:50 -04:00