Skip to content
Commit 42bf011f authored by Alex Richardson's avatar Alex Richardson Committed by Alex Richardson
Browse files

test-helpers: use sysctl() to count open fds on FreeBSD



This allows running the tests on FreeBSD without mounting fdescfs.
Previously you had to run `mount -t fdescfs -o linrdlnk null /dev/fd` to
get file descriptors >=3 listed in /dev/fd.

Signed-off-by: default avatarAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
parent bb928288
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment