Commit d61a0886 authored by Davide Caratti's avatar Davide Caratti Committed by Greg Kroah-Hartman
Browse files

selftests: forwarding: tc_actions: cleanup temporary files when test is aborted



[ Upstream commit f5853171 ]

remove temporary files created by 'mirred_egress_to_ingress_tcp' test
in the cleanup() handler. Also, change variable names to avoid clashing
with globals from lib.sh.

Suggested-by: default avatarPaolo Abeni <pabeni@redhat.com>
Signed-off-by: default avatarDavide Caratti <dcaratti@redhat.com>
Link: https://lore.kernel.org/r/091649045a017fc00095ecbb75884e5681f7025f.1676368027.git.dcaratti@redhat.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Stable-dep-of: 5e867061 ("selftests: forwarding: tc_actions: Use ncat instead of nc")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a798977d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment