tests: Remove extra test by moving getsockname() to another
authorAnoop C S <anoopcs@redhat.com>
Fri, 23 Mar 2018 11:42:49 +0000 (17:12 +0530)
committerAndreas Schneider <asn@samba.org>
Mon, 26 Mar 2018 07:09:32 +0000 (09:09 +0200)
commit142024a641ca43f842584499b5694d26853dd3d9
tree925f35f961e521f765fcc325c6d379cc56ecd8ba
parent33da03f478955daa04adca67fc012379bf0d2a39
tests: Remove extra test by moving getsockname() to another

test_echo_tcp_socket currently tests socket() and getsockname() network
calls. The test name was misleading as it does not require echo server
to be setup. Moreover it failed to create socket_wrapper directory which
is the pre-requisite for testing with libsocket_wrapper.

Therefore it is better to integrate getsockname() test into existing
test_tcp_listen test and remove useless test_echo_tcp_socket

Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
tests/CMakeLists.txt
tests/test_echo_tcp_socket.c [deleted file]
tests/test_tcp_listen.c