test-select: avoid warn_unused_result warnings
authorJim Meyering <meyering@redhat.com>
Wed, 13 Oct 2010 08:15:38 +0000 (10:15 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 13 Oct 2010 08:25:15 +0000 (10:25 +0200)
commitba523890aa7bae76e3ac6b3ce68f22a79d25ce2c
tree4866efe97ace59f6d1704f3805a29e4e1ddedc81
parent9492afb6b3850fb798d9cf83d03b0f9664a4c7b2
test-select: avoid warn_unused_result warnings

* tests/test-select.c: Include "macros.h".
ASSERT that each call to read, write, and pipe succeeds.
While not technically required, also check each "close".
* modules/select-tests (Files): Add tests/macros.h.
ChangeLog
modules/select-tests
tests/test-select.c