Mercurial > gnulib
view modules/poll-tests @ 16335:46aabacf4f15
poll tests: Make test more robust.
* tests/test-poll.c: Include macros.h.
(test_accept_first, test_pair, test_socket_pair, test_pipe): Verify
return value of various I/O operations.
* modules/poll-tests (Files): Add tests/macros.h.
author | Chuanchang Jia <chuanchang.jia@gmail.com> |
---|---|
date | Mon, 30 Jan 2012 22:39:01 +0100 |
parents | 3a4d1597833c |
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)