Skip to content

Commit 76605f8

Browse files
rluboskartben
authored andcommitted
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: Robert Lubos <[email protected]>
1 parent 3197be9 commit 76605f8

File tree

1 file changed

+105
-122
lines changed
  • tests/net/socket/af_packet/src

1 file changed

+105
-122
lines changed

0 commit comments

Comments
 (0)