diff options
author | Joel Granados <j.granados@samsung.com> | 2023-06-16 10:59:20 +0200 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2023-06-18 02:32:54 -0700 |
commit | f2e7a6265e5a5e02ee663eda3d0527dd8230b832 (patch) | |
tree | 8fb79442d2b4508eebc5d39980ae5d1d36b2d0a7 /tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c | |
parent | ec866cc6f8a90a65cd085377405c34f0f6d9ba60 (diff) |
test_sysclt: Test for registering a mount point
Test that target gets created by register_sysctl_mount_point and that no
additional target can be created "on top" of a permanently empty sysctl
table.
Create a mount point target (mnt) in the sysctl test driver; try to
create another on top of that (mnt_error). Output an error if
"mnt_error" is present when we run the sysctl selftests.
Signed-off-by: Joel Granados <j.granados@samsung.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c')
0 files changed, 0 insertions, 0 deletions