]> git.dujemihanovic.xyz Git - linux.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)
commite3e02e1d9c24b0c3a36f9c854ae80e61fd62b2a9
treedac2384f7034b7c5d93c14c39f67c3f8af3510aa
parent3886bd7c9b01317a5721161f8314f6c25f4f6229
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 [moved from tools/testing/selftests/bpf/test_sockopt_inherit.c with 72% similarity]