xref: /freebsd/contrib/unbound/doc/README.tests (revision bae28eaa8d26ddd67e9af51979f1a54599e9b3a8)
1README unbound tests
2
3For a quick test that runs unit tests and state machine tests, use
4	make test
5
6There is a long test setup for unbound that needs tools installed. Use
7	make longtest
8To make and run the long tests. The results are summarized at the end.
9
10You need to have the following programs installed and in your PATH.
11* dig - from the bind-tools package. Used to send DNS queries.
12* splint (optional) - for lint test
13* doxygen (optional) - for doc completeness test
14* ldns-testns - from ldns examples. Used as DNS auth server.
15* xxd and nc (optional) - for (malformed) packet transmission.
16The optional programs are detected and can be omitted.
17
18testdata/ contains the data for tests.
19testcode/ contains scripts and c code for the tests.
20
21do-tests.sh : runs all the tests in the testdata directory.
22testbed.sh : compiles on a set of (user specific) hosts and runs do-tests.
23
24Tests are run using testcode/mini_tpkg.sh.
25