From: Jérémie Galarneau Date: Tue, 27 Oct 2020 21:23:45 +0000 (-0400) Subject: Tests: poll: test all possible combinations of active fds in a poll set X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=efeeaae1cb3adc782fcd9b9908195f6305ee1f00;hp=efeeaae1cb3adc782fcd9b9908195f6305ee1f00;p=lttng-tools.git Tests: poll: test all possible combinations of active fds in a poll set The poll compatibility layer used on all non-Linux platforms would hang for certain combinations of active file descriptors reported by poll. A new test is introduced to try all combinations of active file descriptors for a given number of file descriptors in a poll set. The unit test tries all combinations of 8 file descriptors which exercises all the current compatibility code and ensures the test concludes rapidly. Signed-off-by: Jérémie Galarneau Change-Id: Ie479c4f2d85917713d3f2bdc1e4f0423ca9243af ---