tests: test binary using socket_wrapper (cwrap)
Things missing:
- Wrap I/O syscalls instead of libknot library calls (more portable, generic)
-
Make Python test server listen on all addresses listed in the test
- use socket_wrapper to isolate it in a test environment https://cwrap.org/socket_wrapper.html
- isolate the binary as well and test if it connects to the faked servers
- prepare configuration for binary in the test cases
- check that all tests pass on the binary!
- Documentation (may reference to the https://www.unbound.net/documentation/doxygen/replay_8h.html#details)
- Publish this as a tool to test recursive/auth DNS compliance