selftests/bpf: Add a test for bpf sk_storage_map iterator
authorYonghong Song <yhs@fb.com>
Thu, 23 Jul 2020 18:41:22 +0000 (11:41 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 26 Jul 2020 03:16:34 +0000 (20:16 -0700)
commit3b1c420bd882115eb7a3d2335cc00d7b9974eb0b
treed89acbb828c77a88a9a4d914494e0c6020bda983
parent60dd49ea65390986a665c462da704927e861e67e
selftests/bpf: Add a test for bpf sk_storage_map iterator

Added one test for bpf sk_storage_map_iterator.
  $ ./test_progs -n 4
  ...
  #4/22 bpf_sk_storage_map:OK
  ...

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200723184122.591591-1-yhs@fb.com
tools/testing/selftests/bpf/prog_tests/bpf_iter.c
tools/testing/selftests/bpf/progs/bpf_iter_bpf_sk_storage_map.c [new file with mode: 0644]