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)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 5 Nov 2021 15:37:51 +0000 (16:37 +0100)
commit8b4ac13abe7d82da0e0d22a9ba2e27301559a93e
tree87584c098152ddf50c31a6e36ddbe9f15bdc5575
parent64165ddf8ea184631c65e3bbc8d59f6d940590ca
selftests/bpf/xdp_redirect_multi: Put the logs to tmp folder

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
tools/testing/selftests/bpf/test_xdp_redirect_multi.sh