selftests/bpf: Add bpffs preload test.
authorAlexei Starovoitov <ast@kernel.org>
Wed, 19 Aug 2020 04:27:59 +0000 (21:27 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 20 Aug 2020 14:02:36 +0000 (16:02 +0200)
commitedb65ee5aa2550f6035c8fb169a359bc18acb84a
tree087830af34fd6bab9403c53b909d3356478739e4
parentd71fa5c9763c24dd997a2fa4feb7a13a95bab42c
selftests/bpf: Add bpffs preload test.

Add a test that mounts two bpffs instances and checks progs.debug
and maps.debug for sanity data.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200819042759.51280-5-alexei.starovoitov@gmail.com
tools/testing/selftests/bpf/prog_tests/test_bpffs.c [new file with mode: 0644]