mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
README for new test setup and testbound selftest.
git-svn-id: file:///svn/unbound/trunk@2215 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
a34fe6ea8a
commit
89f459c8a1
3 changed files with 7 additions and 8 deletions
|
|
@ -199,6 +199,7 @@ longcheck: longtest
|
||||||
|
|
||||||
test: unittest$(EXEEXT) testbound$(EXEEXT)
|
test: unittest$(EXEEXT) testbound$(EXEEXT)
|
||||||
./unittest$(EXEEXT)
|
./unittest$(EXEEXT)
|
||||||
|
./testbound$(EXEEXT) -s
|
||||||
for x in testdata/*.rpl; do if ./testbound$(EXEEXT) -p $$x >/dev/null 2>&1; then echo $$x OK; else echo $$x failed; exit 1; fi done
|
for x in testdata/*.rpl; do if ./testbound$(EXEEXT) -p $$x >/dev/null 2>&1; then echo $$x OK; else echo $$x failed; exit 1; fi done
|
||||||
@echo test OK
|
@echo test OK
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -72,8 +72,7 @@ This software is under BSD license, see LICENSE for details.
|
||||||
* --disable-gost
|
* --disable-gost
|
||||||
Disable support for GOST crypto, RFC 5933.
|
Disable support for GOST crypto, RFC 5933.
|
||||||
|
|
||||||
* 'make test' attempts to run a series of tests, depending on the support
|
* 'make test' runs a series of self checks.
|
||||||
programs that are installed.
|
|
||||||
|
|
||||||
Known issues
|
Known issues
|
||||||
------------
|
------------
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,11 @@
|
||||||
README unbound tests
|
README unbound tests
|
||||||
|
|
||||||
There is a test setup for unbound. Use
|
For a quick test that runs unit tests and state machine tests, use
|
||||||
make test
|
make test
|
||||||
To make and run the tests. The results are summarized at the end.
|
|
||||||
|
There is a long test setup for unbound that needs tools installed. Use
|
||||||
|
make longtest
|
||||||
|
To make and run the long tests. The results are summarized at the end.
|
||||||
|
|
||||||
You need to have the following programs installed and in your PATH.
|
You need to have the following programs installed and in your PATH.
|
||||||
* dig - from the bind-tools package. Used to send DNS queries.
|
* dig - from the bind-tools package. Used to send DNS queries.
|
||||||
|
|
@ -12,10 +15,6 @@ You need to have the following programs installed and in your PATH.
|
||||||
* xxd and nc (optional) - for (malformed) packet transmission.
|
* xxd and nc (optional) - for (malformed) packet transmission.
|
||||||
The optional programs are detected and can be omitted.
|
The optional programs are detected and can be omitted.
|
||||||
|
|
||||||
Without any support programs, unittest and testbound can still be used.
|
|
||||||
(cd testdata; ../testcode/mini_tpkg.sh exe 02-unittest.tpkg)
|
|
||||||
(cd testdata; ../testcode/mini_tpkg.sh exe 03-testbound.tpkg)
|
|
||||||
|
|
||||||
testdata/ contains the data for tests.
|
testdata/ contains the data for tests.
|
||||||
testcode/ contains scripts and c code for the tests.
|
testcode/ contains scripts and c code for the tests.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue