1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-06-15 15:25:49 +00:00
Files
gnulib/modules/nonblocking-socket-tests
Bruno Haible b2a583ead5 tests: Use memeq, part 1.
Done through
  sed -e 's/memcmp \([(][^()]*[)]\) == 0/memeq \1/g' \
      -e 's/memcmp \([(][^()]*[(][^()]*[)][^()]*[)]\) == 0/memeq \1/g'

* tests/**/*.[hc]: Use memeq instead of memcmp ... == 0.
* modules/*-tests (Dependencies): Add memeq.
2026-03-01 12:36:28 +01:00

48 lines
836 B
Plaintext

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:
bool
unistd-h
sys_socket-h
nonblocking
wait-process
environ
posix_spawnp
netinet_in-h
arpa_inet-h
socket
setsockopt
bind
getsockname
listen
accept
getsockopt
connect
gettimeofday
snprintf
vsnprintf
strerror
ssize_t
usleep
read
write
memeq
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)