view modules/poll-tests @ 40158:383f7a766b7c

test-framework-sh: Improve maintainability. * tests/init.sh: Clarify what belongs together. Reorder definitions.
author Bruno Haible <bruno@clisp.org>
date Sun, 27 Jan 2019 16:55:27 +0100
parents 46aabacf4f15
children
line wrap: on
line source

Files:
tests/test-poll.c
tests/signature.h
tests/macros.h

Depends-on:
stdbool
sys_socket
netinet_in
arpa_inet
sys_ioctl
extensions
inet_pton
errno
perror
sockets
socket
bind
setsockopt
listen
connect
accept
ioctl
close

configure.ac:
AC_CHECK_HEADERS_ONCE([unistd.h sys/wait.h])

Makefile.am:
TESTS += test-poll
check_PROGRAMS += test-poll
test_poll_LDADD = $(LDADD) $(LIB_POLL) @LIBSOCKET@ $(INET_PTON_LIB)