Nick Mathewson 96c6956e02 Add a "many events" regression test.
This is a glass-box test to get more coverage on the event loop
backends.  We've run into bugs here before with fencepost errors, and
it turns out that none of our unit tests had enough events to
exercise the resize code.

Most of the backends have some kind of logic that resizes an array
when:
    - The highest fd is too high
    - The number of events added since the last iteration of the loop
      is too high
    - The number of active events is too high.

This test hits all 3 cases, and increases coverage in select.c by 7%,
in poll by 1%, and in kqueue by 9%.

svn:r1482
2009-10-30 22:43:30 +00:00
..
2009-04-23 00:21:23 +00:00
2009-10-23 22:38:35 +00:00
2009-08-14 20:07:01 +00:00
2009-10-29 16:35:09 +00:00
2009-10-30 22:43:30 +00:00