1238106SdesREADME unbound tests 2238106Sdes 3238106SdesFor a quick test that runs unit tests and state machine tests, use 4238106Sdes make test 5238106Sdes 6238106SdesThere is a long test setup for unbound that needs tools installed. Use 7238106Sdes make longtest 8238106SdesTo make and run the long tests. The results are summarized at the end. 9238106Sdes 10238106SdesYou need to have the following programs installed and in your PATH. 11238106Sdes* dig - from the bind-tools package. Used to send DNS queries. 12238106Sdes* splint (optional) - for lint test 13238106Sdes* doxygen (optional) - for doc completeness test 14238106Sdes* ldns-testns - from ldns examples. Used as DNS auth server. 15238106Sdes* xxd and nc (optional) - for (malformed) packet transmission. 16238106SdesThe optional programs are detected and can be omitted. 17238106Sdes 18238106Sdestestdata/ contains the data for tests. 19238106Sdestestcode/ contains scripts and c code for the tests. 20238106Sdes 21238106Sdesdo-tests.sh : runs all the tests in the testdata directory. 22238106Sdestestbed.sh : compiles on a set of (user specific) hosts and runs do-tests. 23238106Sdes 24238106SdesTests are run using testcode/mini_tpkg.sh. 25