We don't install the .pc files, so don't run the tests

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Have to install the detail/ binaries in the proper spots

I forgot that some tests/tools hardcode relative paths to
detail/

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Correct the path to the detail/ binaries

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Remove generated files

I wish that a sane .gitignore file was in src/ .. *sigh*

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Revert "Revert "Commit local changes for ATF to pass integration tests""

This reverts commit b99c310050a0cb685115057931d409b7fb861ca9.
Add in a skeleton Makefile for tests/

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Allow the user to add to ATF_TESTS before .include'ing atf.test.mk

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Install the correct files

The sample files won't pass the integration tests

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Employ voodoo to make the detail/ tests install and run from the right spots

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Finish off the integration tests

The issue with the status quo with the NetBSD integrated tests
is that the helper tests are incorrectly appended to the Atffiles,
thus causing false positives when running the tests. The helpers
have been integrated in properly as tools to avoid false
positives.

All tests are now passing sans
atf-run/requirements_test:require_memory_not_enough, which is due
to support being missing from ATF in terms of determining memory
requirements on FreeBSD.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Add memory requirement checking for DragonFly and FreeBSD

This required fixing how sysctls were grabbed, in particular
the correct pattern is always to do:

1. query size
2. malloc
3. query value

It was returning bogus sizes before on FreeBSD before, which
is no bueno.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Fix some typos

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>