ACK: [PATCH] uefirtmisc: add checking the resources for testing
Alex Hung
alex.hung at canonical.com
Sat Jan 29 02:31:10 UTC 2022
On 2022-01-19 01:33, Ivan Hu wrote:
> BugLink: https://bugs.launchpad.net/fwts/+bug/1958206
>
> Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
> ---
> src/uefi/uefirtmisc/uefirtmisc.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/src/uefi/uefirtmisc/uefirtmisc.c b/src/uefi/uefirtmisc/uefirtmisc.c
> index f6038f5f..db33ad66 100644
> --- a/src/uefi/uefirtmisc/uefirtmisc.c
> +++ b/src/uefi/uefirtmisc/uefirtmisc.c
> @@ -91,6 +91,11 @@ static int getnexthighmonotoniccount_test(fwts_framework *fw, uint32_t multitest
> "service is not supported on this platform.");
> return FWTS_SKIP;
> }
> + if (status == EFI_OUT_OF_RESOURCES) {
> + fwts_skipped(fw, "Skipping test, run out of resources for "
> + "GetNextHighMonotonicCount runtime service test.");
> + return FWTS_SKIP;
> + }
> fwts_failed(fw, LOG_LEVEL_HIGH, "UEFIRuntimeGetNextHighMonotonicCount",
> "Failed to get high monotonic count with UEFI runtime service.");
> fwts_uefi_print_status_info(fw, status);
Acked-by: Alex Hung <alex.hung at canonical.com>
More information about the fwts-devel
mailing list