lsof-org / lsof

LiSt Open Files
https://lsof.readthedocs.io
Other
414 stars 104 forks source link

[linux] Do not hard-code fd numbers in epoll test #277

Closed subnut closed 1 year ago

subnut commented 1 year ago

In case file descriptor 3 and 4 are being used already, the executable created by epoll.c exits with exit code 1, and prints the message -

epoll_ctl<6>: Invalid argument

causing case-20-epoll.bash to FAIL.

jiegec commented 1 year ago

Nice job, could you provide information to reproduce the issue? e.g. Linux distro.

subnut commented 1 year ago

Void Linux's xbps-src build system