Skip to content

Commit

Permalink
test esys-pcr-basic: fix platform auth management
Browse files Browse the repository at this point in the history
When it is not possible to use Platform authorization,
a 'goto error' is missing to skip the test

Signed-off-by: lcharpentier-stm <laurent.charpentier@st.com>
  • Loading branch information
lcharpentier-stm committed Nov 30, 2023
1 parent fcff6da commit cce9e70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/integration/esys-pcr-basic.int.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cce9e70

Please sign in to comment.