From 9ca3a834421d348bda6aef151600493bb3d7a98d Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 18 Dec 2024 12:14:58 +0100 Subject: [PATCH] test/security_manager: add test --- test/security_manager/security_manager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/security_manager/security_manager.cpp b/test/security_manager/security_manager.cpp index 7aa54e4b2..8d1f3211f 100644 --- a/test/security_manager/security_manager.cpp +++ b/test/security_manager/security_manager.cpp @@ -453,7 +453,9 @@ TEST(SecurityManager, AddressResolutionLookup){ bd_addr_t address = {0,0,0,0,0,0}; status = sm_address_resolution_lookup((uint8_t) BD_ADDR_TYPE_LE_PUBLIC, address); - CHECK_EQUAL(status, 0); + CHECK_EQUAL(status, ERROR_CODE_SUCCESS); + status = sm_address_resolution_lookup((uint8_t) BD_ADDR_TYPE_LE_PUBLIC, address); + CHECK_EQUAL(status, BTSTACK_BUSY); } int main (int argc, const char * argv[]){