Skip to content
Commit bc90cf0d authored by Vincent Wan's avatar Vincent Wan Committed by Jukka Rissanen
Browse files

tests: lib: fdtable: fix tests after modifying reference counting



Tests need to be adjusted to do the correct checks now that reference
count is incremented in z_reserve_fd() instead of z_finalize_fd().

test_z_fd_multiple_access in particular has been simplified to
reserving an fd in one thread and freeing it in the other.

Signed-off-by: default avatarVincent Wan <vwan@ti.com>
parent 0e436ed7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment