I work with some people to improve the Linux compatibility layer in FreeBSD. We use the LTP to verify our emulation layer. We run the LTP linux binaries in a chroot with gentoo libs/binaries withhin our emulation layer. So the LTP is exerciesing the emulated linux syscalls.
With the first version of the LTP we used, I noticed a failure message for e.g. the fcntl23 testcase. It was: fcntl(tfile_24787, F_SETLEASE,F_RDLCK) Failed, errno=22: Invalid argument
With a more recent version of the LTP (currently I use 20061222), I get a PASS in the logfile in the results directory (runltp -p -l <name>), but the verbose output to stdout does not print a result and we did not fixed the FreeBSD kernel to let this test pass. So it PASSes when it should FAIL, and it does not print the cause.