select, poll tests: Make setsockopt invocation effective.
authorEd Maste <emaste@freebsd.org>
Mon, 1 Oct 2012 23:48:22 +0000 (01:48 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 1 Oct 2012 23:48:22 +0000 (01:48 +0200)
commit6ed6dffbe79bcf95e2ed5593eee94ab32fcde3f4
tree22e3914f2e260a37668e4ddd9a3b3c631afdd065
parentb4938324b7113c9d73f8390d21f3ecbd842e74b9
select, poll tests: Make setsockopt invocation effective.

* tests/test-poll.c (open_server_socket): Move setsockopt() call before
the bind() call.
* tests/test-select.h (open_server_socket): Likewise.
ChangeLog
tests/test-poll.c
tests/test-select.h