Mercurial > hg > octave-nkf > gnulib-hg
view modules/select-tests @ 14043:a184cac42a35
select tests: Use existing modules.
* modules/select-tests (Depends-on): Add pipe-posix, unistd.
(configure.ac): Don't test for unistd.h.
* tests/test-select.c: Include <unistd.h> always. Use pipe() as
declared in <unistd.h>.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 27 Dec 2010 18:51:03 +0100 |
parents | d70929a44412 |
children | 78d76c49295d |
line wrap: on
line source
Files: tests/macros.h tests/signature.h tests/test-select.c tests/test-select-fd.c tests/test-select-in.sh tests/test-select-out.sh tests/test-select-stdin.c Depends-on: stdbool 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) @LIBSOCKET@ $(INET_PTON_LIB) test_select_fd_LDADD = $(LDADD) @LIBSOCKET@ test_select_stdin_LDADD = $(LDADD) @LIBSOCKET@