[PATCH] tests: commandhelper: Accept POLLNVAL on macOS
r.bolshakov at yadro.com
Wed Oct 7 19:13:03 UTC 2020
On Wed, Oct 07, 2020 at 07:17:05PM +0200, Ján Tomko wrote:
> On a Wednesday in 2020, Roman Bolshakov wrote:
Thanks, I'll correct it.
> > BUGS
> > The poll() system call currently does not support devices.
> Is there a bug that track this? If so, including it in a comment
> would help us delete this special case in distant future.
Apple's poll() implementation was broken in many ways over the years,
but it's slowly getting better. Originally it wasn't able to deal even
with stdin  and supported only network sockets.
Also, there was a bug in macOS 10.12  that was fixed in 10.12.2. And
gnustep has a test for the /dev/null bug . Since  was done 11
years ago I haven't submitted a ticket for the issue but I'm surely can
do that and then I'd add a tag to commit message or a comment:
Apple-Feedback: FB<ISSUE NUMBER>
Would that work for you?
More information about the libvir-list