poll tests: Make test more robust.
authorChuanchang Jia <chuanchang.jia@gmail.com>
Mon, 30 Jan 2012 21:39:01 +0000 (22:39 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 30 Jan 2012 21:39:39 +0000 (22:39 +0100)
commit780b9e0b408cf6067ebf2243b2caed3f1ed2a9c3
treee928778357b97b596a5a1b88e4303874540e7055
parent253e7e986ecff5d39654a22259b4e5018d71643b
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.
ChangeLog
modules/poll-tests
tests/test-poll.c