]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: test_progs: convert test_sockopt_inherit
authorStanislav Fomichev <sdf@google.com>
Wed, 4 Sep 2019 16:25:08 +0000 (09:25 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 6 Sep 2019 16:59:05 +0000 (09:59 -0700)
commit0131739c20d80df7c1e73fe49d94d3c359a14b94
treedac2384f7034b7c5d93c14c39f67c3f8af3510aa
parent95ddc9f49c68783841586819f482254e3678dff8
selftests/bpf: test_progs: convert test_sockopt_inherit

Move the files, adjust includes, remove entry from Makefile & .gitignore

I also added pthread_cond_wait for the server thread startup. We don't
want to connect to the server that's not yet up (for some reason
this existing race is now more prominent with test_progs).

Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/.gitignore
tools/testing/selftests/bpf/Makefile
tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c [new file with mode: 0644]
tools/testing/selftests/bpf/test_sockopt_inherit.c [deleted file]