mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 16:14:20 +01:00
TEST: added psa_its_set expected failure test
Signed-off-by: pespacek <peter.spacek@silabs.com>
This commit is contained in:
parent
55f15c7e6c
commit
ecaca12612
3
ChangeLog.d/PSA-test-suites-NOT-using-UID-0.txt
Normal file
3
ChangeLog.d/PSA-test-suites-NOT-using-UID-0.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Bugfix
|
||||||
|
* Fix unit tests that used 0 as the file UID. This failed on some
|
||||||
|
implementations of PSA ITS. Fixes #3838.
|
@ -285,3 +285,16 @@ exit:
|
|||||||
cleanup( );
|
cleanup( );
|
||||||
}
|
}
|
||||||
/* END_CASE */
|
/* END_CASE */
|
||||||
|
|
||||||
|
/* BEGIN_CASE */
|
||||||
|
void set_fail( int uid_arg, data_t *data,
|
||||||
|
int expected_status )
|
||||||
|
{
|
||||||
|
psa_storage_uid_t uid = uid_arg;
|
||||||
|
TEST_ASSERT( psa_its_set_wrap( uid, data->len, data->x, 0 ) ==
|
||||||
|
(psa_status_t) expected_status );
|
||||||
|
|
||||||
|
exit:
|
||||||
|
cleanup( );
|
||||||
|
}
|
||||||
|
/* END_CASE */
|
||||||
|
Loading…
Reference in New Issue
Block a user