summaryrefslogtreecommitdiff
path: root/modules/poll-tests
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2008-09-12 14:52:33 +0200
committerPaolo Bonzini <bonzini@gnu.org>2008-09-12 15:05:20 +0200
commitf9f61e25aee8cf75e4cf084c66e82993dbf35c47 (patch)
treee9a63cec051d27462b30ad0069450ea6bc36524c /modules/poll-tests
parent314fcbb7de94709b92edf1b68f62ca6aed8d4dbc (diff)
downloadgnulib-f9f61e25aee8cf75e4cf084c66e82993dbf35c47.tar.gz
add a minimal testsuite for the poll module
2008-09-12 Paolo Bonzini <bonzini@gnu.org> * modules/poll-tests: New. * tests/test-poll.c: New.
Diffstat (limited to 'modules/poll-tests')
-rw-r--r--modules/poll-tests15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/poll-tests b/modules/poll-tests
new file mode 100644
index 0000000000..1484aaa363
--- /dev/null
+++ b/modules/poll-tests
@@ -0,0 +1,15 @@
+Files:
+tests/test-poll.c
+
+Depends-on:
+sys_socket
+netinet_in
+arpa_inet
+extensions
+
+configure.ac:
+AC_CHECK_HEADERS_ONCE([io.h unistd.h sys/wait.h])
+
+Makefile.am:
+TESTS += test-poll
+check_PROGRAMS += test-poll