Fix assert setting sys variables for interfaces when none are detected
Varargs should be passed to vfprintf, no fprintf.
Change type from int to bool and Log() accordingly.
Removed redundant memset().
One variable should be enough for our tests.
Body file_select refers to directories as well.

But still ignore directories if depth_search is on, so that we recurse
into them.
Enable Pass/FAIL reporting using default_check_diff.
Added --no-clean switch to never delete workdir.
Fix memleak. Sanitize switch statement.
Make copy_from remote work with zero bytes files.

Also added a couple of unit tests.

Regression was caught by an assertion for size>0 in TLSRecv().
Add an acceptance test for commit 0a421b99.
Merge remote-tracking branch 'jon/fix_assert_in_interface_detection'
Add JsonParseFile

A convenience wrapper ontop of JsonParse
Read release_id from inputs/cf_promises_validated

If a policy is being loaded without MINUSF, look for a downloaded
inputs/cf_promises_validated and attempt to extract a release_id
from this file. Attach the release_id to the loaded struct Policy.
Add missing declaration of fchownat
wait.h is not available on OS X
.gitignore
Unexport internal functions from sysinfo.h

Keep them in sysinfo_priv.h, so they still can be unit-tested.
Unexport internal function
Move IsInterfaceAddress to proper place