Skip to content
Commit f1d7c0b1 authored by Christopher Friedt's avatar Christopher Friedt Committed by Carles Cufi
Browse files

tests: net: socketpair: use a test fixture to deduplicate code



A fair bit of setup / teardown code was being duplicated in many
test cases in the socketpair testsuite.

Take advantage of the `setup()`, `before()`, and `after()`
functions in the new ZTest API.

Signed-off-by: default avatarChristopher Friedt <cfriedt@meta.com>
parent 4a095bb3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment