summaryrefslogtreecommitdiff
path: root/modules/select-tests
blob: f62130dd9cd666a3df357ee8d13f79359f1b1186 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Files:
tests/macros.h
tests/signature.h
tests/test-select.c
tests/test-select.h
tests/test-select-fd.c
tests/test-select-in.sh
tests/test-select-out.sh
tests/test-select-stdin.c

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

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

Makefile.am:
TESTS += test-select test-select-in.sh test-select-out.sh
# test-select-stdin has to be run by hand.
check_PROGRAMS += test-select test-select-fd test-select-stdin
test_select_LDADD = $(LDADD) @SELECT_LIB@ @LIBSOCKET@ $(INET_PTON_LIB)
test_select_fd_LDADD = $(LDADD) @SELECT_LIB@
test_select_stdin_LDADD = $(LDADD) @SELECT_LIB@