Commit 0f8bcdfd92dc6342564192d707f339855c6fbc5f

Guillem Jover 2023-04-01T02:48:47

test: Fix closefrom() test to handle open file descriptor limits If the system has configured a lower limit (either soft or hard) on the number of open file descriptors, the test will fail. Make sure to check whether we have exceeded that limit and adapt the max number of file descriptors appropriately.