Hi all,
I have a question of secondary importance:
I recently asked the question whether we do unit tests in gnunet. Looking
at the examples pointed to in reply, I realize that I probably didn't
ask for what I meant. What I meant was:
Do we write tests for functions that are not exposed via API? And if so:
How do we?
The example at hand:
I think the pattern matching function of GNUNET_DISK_glob() has a bug
and I would like to test the pattern matching function without actually
interacting with the file system, without calling GNUNET_DISK_glob().
If there's no proper way, I'll simply go ahead and expand the
test_disk.c to cover GNUNET_DISK_glob() via the exposed API call.