> It also is a wrong way to build self-configuration; such a test is > vulnerable to both false positives and false negatives. It should be > reported upstream as a bug. Much righter is to test whether epoll, if > present, produces the behaviour the program expects in the uses it > makes of it. As Linux introduced epoll (or so I think) I think it's appropriate -- absent a SUS specification -- to assume it works as under Linux?
How would you argue if some other OS was to introduce something called kqueue with semantics different from FreeBSD?