fdpass test fails on Solaris
Submitted by vlm..@..lny.cz
Assigned to D-Bus Maintainers
Created attachment 131553 Increase the number of file descriptors
The test fdpass expects to have more than ~800 file descriptors available for current process. On Solaris the default is to have the soft limit set to 256 file descriptors.
The test fails with this error: Not enough RLIMIT_NOFILE to run this test
This is the attached patch I am using on Solaris. It could be enanced (like #ifdef __sun), but I am not sure whether something like this would be accepted. I'm not sure whether increasing the file descriptors limit too high does not make some of the tests to not work as they won't reach the limit at 1024.
Patch 131553, "Increase the number of file descriptors":