diff options
author | Andrey Ignatov <rdna@fb.com> | 2019-03-09 02:17:51 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-04-12 23:54:59 +0300 |
commit | 11ff34f74e32f5a4ec1f71621508789cd60775b3 (patch) | |
tree | 7755f562e7e438a7d3a4d8e78c355b7bf3a2a8e3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6041c67f28d8b297ef53ab47abdcd319626c765e (diff) | |
download | linux-11ff34f74e32f5a4ec1f71621508789cd60775b3.tar.xz |
selftests/bpf: Test sysctl_get_current_value helper
Test sysctl_get_current_value on sysctl read and write, buffers with
enough space and too small buffers to get E2BIG and truncated result,
etc.
# ./test_sysctl
...
Test case: sysctl_get_current_value sysctl:read ok, gt .. [PASS]
Test case: sysctl_get_current_value sysctl:read ok, eq .. [PASS]
Test case: sysctl_get_current_value sysctl:read E2BIG truncated .. [PASS]
Test case: sysctl_get_current_value sysctl:read EINVAL .. [PASS]
Test case: sysctl_get_current_value sysctl:write ok .. [PASS]
Summary: 16 PASSED, 0 FAILED
Signed-off-by: Andrey Ignatov <rdna@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions