On Wed, Dec 04, 2024 at 08:40:44AM -0800, Breno Leitao wrote: > Modify the cleanup function to remove all userdata keys created during the > test, instead of just deleting a single predefined key. This ensures a > more thorough cleanup of temporary resources. > > Move the KEY_PATH variable definition inside the set_user_data function > to reduce global variables and improve encapsulation. The KEY_PATH > variable is now dynamically created when setting user data. > > This change has no effect on the current test, while improving an > upcoming test that would create several userdata entries. > > Signed-off-by: Breno Leitao <leitao@xxxxxxxxxx> Reviewed-by: Simon Horman <horms@xxxxxxxxxx>