]> www.infradead.org Git - users/dwmw2/linux.git/commit
selftests: mlxsw: qos_mc_aware: Use defer for test cleanup
authorPetr Machata <petrm@nvidia.com>
Thu, 17 Oct 2024 09:45:49 +0000 (11:45 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 22 Oct 2024 11:33:47 +0000 (13:33 +0200)
commit979154e90ff83ab63bb1a52f48e442c953452adb
treebfb586aa79807abb0a74884fb65bddabbb18b562
parentcc3e7ee15ddd0d37251127b7802d4483d7f6cad3
selftests: mlxsw: qos_mc_aware: Use defer for test cleanup

Use the defer framework to schedule cleanups as soon as the command is
executed.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/drivers/net/mlxsw/qos_mc_aware.sh