]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/unbound/doc/README.tests
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / unbound / doc / README.tests
1 README unbound tests
2
3 For a quick test that runs unit tests and state machine tests, use
4         make test
5
6 There is a long test setup for unbound that needs tools installed. Use
7         make longtest
8 To make and run the long tests. The results are summarized at the end.
9
10 You 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.
16 The optional programs are detected and can be omitted.
17
18 testdata/ contains the data for tests. 
19 testcode/ contains scripts and c code for the tests.
20
21 do-tests.sh : runs all the tests in the testdata directory.
22 testbed.sh : compiles on a set of (user specific) hosts and runs do-tests.
23
24 Tests are run using testcode/mini_tpkg.sh.