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.
Rename tests to more descriptive names.
Merge branch 'jimis/varfix5'