From e399c89bd088826a26a6125600100afa25eee01e Mon Sep 17 00:00:00 2001 From: Alexander Zilberkant Date: Tue, 1 Jan 2019 20:41:10 +0200 Subject: [PATCH] fix its_reset test --- .../its_reset/COMPONENT_PSA_SRV_IMPL/test_pits_impl.cpp | 2 +- .../entropy_inject/its_reset/COMPONENT_SPE/test_pits_impl.cpp | 2 +- .../its_reset/COMPONENT_PSA_SRV_IMPL/test_pits_impl.cpp | 2 +- .../its_reset/COMPONENT_SPE/test_pits_impl.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/TESTS/psa/entropy_inject/its_reset/COMPONENT_PSA_SRV_IMPL/test_pits_impl.cpp b/TESTS/psa/entropy_inject/its_reset/COMPONENT_PSA_SRV_IMPL/test_pits_impl.cpp index 7b2f4e57f3..e5eae50392 100644 --- a/TESTS/psa/entropy_inject/its_reset/COMPONENT_PSA_SRV_IMPL/test_pits_impl.cpp +++ b/TESTS/psa/entropy_inject/its_reset/COMPONENT_PSA_SRV_IMPL/test_pits_impl.cpp @@ -42,7 +42,7 @@ psa_its_status_t test_psa_its_reset_impl(void) } KVMap &kv_map = KVMap::get_instance(); - KVStore *kvstore = kv_map.get_main_kv_instance(STR_EXPAND(MBED_CONF_STORAGE_DEFAULT_KV)); + KVStore *kvstore = kv_map.get_internal_kv_instance(STR_EXPAND(MBED_CONF_STORAGE_DEFAULT_KV)); if (!kvstore) { return PSA_ITS_ERROR_STORAGE_FAILURE; } diff --git a/TESTS/psa/entropy_inject/its_reset/COMPONENT_SPE/test_pits_impl.cpp b/TESTS/psa/entropy_inject/its_reset/COMPONENT_SPE/test_pits_impl.cpp index 7b2f4e57f3..e5eae50392 100644 --- a/TESTS/psa/entropy_inject/its_reset/COMPONENT_SPE/test_pits_impl.cpp +++ b/TESTS/psa/entropy_inject/its_reset/COMPONENT_SPE/test_pits_impl.cpp @@ -42,7 +42,7 @@ psa_its_status_t test_psa_its_reset_impl(void) } KVMap &kv_map = KVMap::get_instance(); - KVStore *kvstore = kv_map.get_main_kv_instance(STR_EXPAND(MBED_CONF_STORAGE_DEFAULT_KV)); + KVStore *kvstore = kv_map.get_internal_kv_instance(STR_EXPAND(MBED_CONF_STORAGE_DEFAULT_KV)); if (!kvstore) { return PSA_ITS_ERROR_STORAGE_FAILURE; } diff --git a/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_PSA_SRV_IMPL/test_pits_impl.cpp b/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_PSA_SRV_IMPL/test_pits_impl.cpp index 7b2f4e57f3..e5eae50392 100644 --- a/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_PSA_SRV_IMPL/test_pits_impl.cpp +++ b/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_PSA_SRV_IMPL/test_pits_impl.cpp @@ -42,7 +42,7 @@ psa_its_status_t test_psa_its_reset_impl(void) } KVMap &kv_map = KVMap::get_instance(); - KVStore *kvstore = kv_map.get_main_kv_instance(STR_EXPAND(MBED_CONF_STORAGE_DEFAULT_KV)); + KVStore *kvstore = kv_map.get_internal_kv_instance(STR_EXPAND(MBED_CONF_STORAGE_DEFAULT_KV)); if (!kvstore) { return PSA_ITS_ERROR_STORAGE_FAILURE; } diff --git a/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/test_pits_impl.cpp b/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/test_pits_impl.cpp index 7b2f4e57f3..e5eae50392 100644 --- a/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/test_pits_impl.cpp +++ b/TESTS/psa/prot_internal_storage/its_reset/COMPONENT_SPE/test_pits_impl.cpp @@ -42,7 +42,7 @@ psa_its_status_t test_psa_its_reset_impl(void) } KVMap &kv_map = KVMap::get_instance(); - KVStore *kvstore = kv_map.get_main_kv_instance(STR_EXPAND(MBED_CONF_STORAGE_DEFAULT_KV)); + KVStore *kvstore = kv_map.get_internal_kv_instance(STR_EXPAND(MBED_CONF_STORAGE_DEFAULT_KV)); if (!kvstore) { return PSA_ITS_ERROR_STORAGE_FAILURE; }