File: nonblocking-socket-tests

package info (click to toggle)
gnulib 20230209%2Bstable-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 81,252 kB
  • sloc: ansic: 316,871; sh: 27,090; python: 7,774; cpp: 2,663; yacc: 1,855; perl: 897; makefile: 400; lisp: 328; java: 5
file content (46 lines) | stat: -rw-r--r-- 825 bytes parent folder | download | duplicates (2)
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
43
44
45
46
Files:
tests/test-nonblocking-socket.sh
tests/test-nonblocking-socket-main.c
tests/test-nonblocking-socket-child.c
tests/test-nonblocking-socket.h
tests/test-nonblocking-writer.h
tests/test-nonblocking-reader.h
tests/test-nonblocking-misc.h
tests/socket-server.h
tests/socket-client.h
tests/macros.h

Depends-on:
stdbool
unistd
sys_socket
nonblocking
wait-process
environ
posix_spawnp
netinet_in
arpa_inet
socket
setsockopt
bind
getsockname
listen
accept
getsockopt
connect
gettimeofday
snprintf
vsnprintf
strerror
ssize_t
usleep
read
write

configure.ac:

Makefile.am:
TESTS += test-nonblocking-socket.sh
check_PROGRAMS += test-nonblocking-socket-main test-nonblocking-socket-child
test_nonblocking_socket_main_LDADD = $(LDADD) $(LIBSOCKET) @LIBINTL@ $(LIBTHREAD)
test_nonblocking_socket_child_LDADD = $(LDADD) $(LIBSOCKET)