From cce9e70d5c89120cdd72a5b0e4d3d62ecabf6bb2 Mon Sep 17 00:00:00 2001 From: lcharpentier-stm Date: Thu, 30 Nov 2023 12:00:27 +0100 Subject: [PATCH] test esys-pcr-basic: fix platform auth management When it is not possible to use Platform authorization, a 'goto error' is missing to skip the test Signed-off-by: lcharpentier-stm --- test/integration/esys-pcr-basic.int.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration/esys-pcr-basic.int.c b/test/integration/esys-pcr-basic.int.c index 0a5bc027e..974a70bf6 100644 --- a/test/integration/esys-pcr-basic.int.c +++ b/test/integration/esys-pcr-basic.int.c @@ -142,6 +142,7 @@ test_esys_pcr_basic(ESYS_CONTEXT * esys_context) /* Platform authorization not possible test will be skipped */ LOG_WARNING("Platform authorization not possible."); failure_return = EXIT_SKIP; + goto error; } goto_if_error(r, "Error: PCR_Allocate", error);