RE: [PATCH bpf 1/4] selftests: bpf: use a temporary file in test_sockmap

From: John Fastabend
Date: Fri Jan 24 2020 - 14:44:09 EST


Lorenz Bauer wrote:
> Use a proper temporary file for sendpage tests. This means that running
> the tests doesn't clutter the working directory, and allows running the
> test on read-only filesystems.
>
> Signed-off-by: Lorenz Bauer <lmb@xxxxxxxxxxxxxx>
> ---
> tools/testing/selftests/bpf/test_sockmap.c | 15 +++++----------
> 1 file changed, 5 insertions(+), 10 deletions(-)
>

Agree nice bit of cleanup. We should merge this in bpf-next though
considering its late in the bpf tree.

Acked-by: John Fastabend <john.fastabend@xxxxxxxxx>