Steps to reproduce:
When building from sources in FreeBSD, simply bootstrap with the 'tests' option and then 'make tests'
The issues I have found so far are:
- There is no __CONST_SOCKADDR_ARG in FreeBSD, that's a glibc thing.
- Although the include malloc.h is kind of "dummied" for FreeBSD, there might be other OSes that don't have it.
- There is no fxstat or xstat in FreeBSD so the tests won't even build.
- There is no tests/libs/zbxsysinfo/freebsd, only tests/libs/zbxsysinfo/linux so I guess this is an issue too, probably it requires porting but I'm not sure.
I would expect that at lest the tests can be built and run in FreeBSD. Even if I work around the issues above mentioned, the tests still won't run.
Not sure if this is the correct place to report this or whether I need to provide additional information. Please let me know.