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@cloudflare.com
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@gmail.com