Skip to content

Commit

Permalink
[review] ta: os_test: fix TA time wrap test
Browse files Browse the repository at this point in the history
Addressing a comment.

Signed-off-by: Jens Wiklander <[email protected]>
  • Loading branch information
jenswi-linaro committed Jan 28, 2025
1 parent 9636ad4 commit ad9f2b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ta/os_test/os_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ static TEE_Result test_time(void)
* TEE_GetTAPersistentTime() should be much less than 1 second, in fact
* it's not even a millisecond.
*/
if (t.seconds > 1 || t.millis >= 1000) {
if (t.seconds > 60 || t.millis >= 1000) {
EMSG("Unexpected stored TA time %"PRIu32".%03"PRIu32, t.seconds,
t.millis);
return TEE_ERROR_BAD_STATE;
Expand Down

0 comments on commit ad9f2b4

Please sign in to comment.