Skip to content

Commit cce9e70

Browse files
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 <[email protected]>
1 parent fcff6da commit cce9e70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/integration/esys-pcr-basic.int.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ test_esys_pcr_basic(ESYS_CONTEXT * esys_context)
142142
/* Platform authorization not possible test will be skipped */
143143
LOG_WARNING("Platform authorization not possible.");
144144
failure_return = EXIT_SKIP;
145+
goto error;
145146
}
146147

147148
goto_if_error(r, "Error: PCR_Allocate", error);

0 commit comments

Comments
 (0)