]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests/bpf/xdp_redirect_multi: Put the logs to tmp folder
authorHangbin Liu <liuhangbin@gmail.com>
Wed, 27 Oct 2021 03:35:50 +0000 (11:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Nov 2021 10:04:40 +0000 (11:04 +0100)
commit52058c2e55162a5a573609d5b3ea50f347983df0
tree609a90adba2a57d20263ab9e1d86b501ec35d460
parent5ad1157af560a2844121571d459cfbe727d44fd5
selftests/bpf/xdp_redirect_multi: Put the logs to tmp folder

[ Upstream commit 8b4ac13abe7d82da0e0d22a9ba2e27301559a93e ]

The xdp_redirect_multi test logs are created in selftest folder and not cleaned
after test. Let's creat a tmp dir and remove the logs after testing.

Fixes: d23292476297 ("selftests/bpf: Add xdp_redirect_multi test")
Suggested-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20211027033553.962413-2-liuhangbin@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/bpf/test_xdp_redirect_multi.sh