GWakeup: test fallback case
authorRyan Lortie <desrt@desrt.ca>
Mon, 25 Jul 2011 15:43:28 +0000 (17:43 +0200)
committerRyan Lortie <desrt@desrt.ca>
Mon, 25 Jul 2011 15:43:28 +0000 (17:43 +0200)
commit0584f0c50495e4c1d6691f30d9f598799a5d54ce
tree6128ea6d6d6d1832eae8703d430ad1ed96156c2d
parent7f15910e7907e17606ba9e149cc3b04be4887bbf
GWakeup: test fallback case

We need to test the case of eventfd in the libc but no kernel support.

In order to do that, we add a separate compile of the GWakeup testcase
that interposes an 'eventfd' symbol that always returns -1 with errno
set.  That will trigger the fallback case.
configure.ac
gthread/tests/Makefile.am
gthread/tests/gwakeup.c