From e4f6d5c5fe5b2ac9fa93c067d4553754f6a8a02b Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Mon, 9 Nov 2020 17:47:52 +0100 Subject: [PATCH] tests: Fix persistent slot lifecycle tests Signed-off-by: Ronald Cron --- tests/suites/test_suite_psa_crypto_slot_management.function | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/suites/test_suite_psa_crypto_slot_management.function b/tests/suites/test_suite_psa_crypto_slot_management.function index fe3e5f987..12cf3eac9 100644 --- a/tests/suites/test_suite_psa_crypto_slot_management.function +++ b/tests/suites/test_suite_psa_crypto_slot_management.function @@ -251,12 +251,6 @@ void persistent_slot_lifecycle( int lifetime_arg, int owner_id_arg, int id_arg, if( ! invalidate_psa( close_method ) ) goto exit; - /* Test that the handle is now invalid. */ - TEST_EQUAL( psa_get_key_attributes( handle, &read_attributes ), - PSA_ERROR_DOES_NOT_EXIST ); - psa_reset_key_attributes( &read_attributes ); - TEST_EQUAL( psa_close_key( handle ), PSA_ERROR_DOES_NOT_EXIST ); - /* Try to reopen the key. If we destroyed it, check that it doesn't * exist. Otherwise check that it still exists and has the expected * content. */