aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorRoxana Nicolescu <[email protected]>2023-02-20 11:04:00 +0000
committerPaolo Abeni <[email protected]>2023-02-21 09:45:08 +0000
commitb60417a9f2b890a8094477b2204d4f73c535725e (patch)
tree1493c90c453e922fb87feb26e9c9649bc80812d8 /net/unix/af_unix.c
parentnet: lan966x: Fix possible deadlock inside PTP (diff)
downloadkernel-b60417a9f2b890a8094477b2204d4f73c535725e.tar.gz
kernel-b60417a9f2b890a8094477b2204d4f73c535725e.zip
selftest: fib_tests: Always cleanup before exit
Usage of `set -e` before executing a command causes immediate exit on failure, without cleanup up the resources allocated at setup. This can affect the next tests that use the same resources, leading to a chain of failures. A simple fix is to always call cleanup function when the script exists. This approach is already used by other existing tests. Fixes: 1056691b2680 ("selftests: fib_tests: Make test results more verbose") Signed-off-by: Roxana Nicolescu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions