Adapt NetBSD's tests to run on FreeBSD, rather than directly using the
tests under contrib, as the differences in spacing are significant.
It uses a mocked getmntinfo(3) implementation to ensure consistent file
system enumeration during testing, generating an h_df binary that is
used for testing.