Skip to content

Commit

Permalink
ESYS TEST: Platform authorization management in PCR_Allocate test
Browse files Browse the repository at this point in the history
In Integration Test esys-pcr-basic, when it is not possible to use Platform authorization, a 'goto error' is missing to skip the test.

Signed-off-by: Laurent Charpentier laurent.charpentier@st.com
  • Loading branch information
lcharpentier-stm authored Nov 28, 2023
1 parent ede63dd commit 295acb3
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 295acb3

Please sign in to comment.