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>
Thu, 18 Nov 2021 18:17:09 +0000 (19:17 +0100)
commitddf4f3897357da019edec37b61a7b9a11c62592d
treebd32adb57f31473bb211f39b24743c84fd330c91
parente13c754499052c4741c658c065a74a5d38d6abda
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