Skip to content
Commit 76605f81 authored by Robert Lubos's avatar Robert Lubos Committed by Benjamin Cabé
Browse files

tests: net: socket: af_packet: Make sure sockets are closed on failure



Make sure all sockets used in test are closed even in case of test
failure. Otherwise, a single test failure could derail other tests,
making the results obfuscated.

Remove redundant code related to socket creation.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 3197be97
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment