bind9/bin/tests/system
Mark Andrews 802e0662ef 4483. [func] Check prefixes in acls to make sure the address and
prefix lengths are consistent.  Warn only in
                        BIND 9.11 and earlier. [RT #43367]
2016-10-11 15:03:24 +11:00
..
acl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
additional 4437. [func] Minimal-responses now has two additional modes 2016-08-12 10:49:57 +10:00
addzone [v9_11] store "addzone" zone config in a NZD database 2016-07-21 11:14:16 -07:00
allow_query 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
autosign Fix merge error in bin/tests/system/conf.sh.in, add missing cleanups in tests 2016-07-26 20:33:06 +02:00
builtin 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
cacheclean [v9_11] fix tcp client memory leak 2016-08-29 11:56:56 -07:00
case 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
catz 4449. [test] Fix catalog zones test on slower systems. [RT #42997] 2016-08-18 18:17:17 +02:00
checkconf 4483. [func] Check prefixes in acls to make sure the address and 2016-10-11 15:03:24 +11:00
checkds 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
checknames 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
checkzone 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
common 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
cookie 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
coverage 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
database 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
delzone [v9_11] copyrights 2016-07-21 20:06:52 -07:00
dialup 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
digdelv [master] Disable dig IPv4-to-IPv6 mapping system test on OpenBSD 2016-09-30 12:20:55 +02:00
dlv 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
dlvauto 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
dlz 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
dlzexternal 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
dname 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
dns64 add more DNS64 default exclude acl tests 2016-07-13 10:58:46 +10:00
dnssec [v9_11] reset ret between NTA tests 2016-10-05 21:07:18 -07:00
dnstap 4463. [bug] The dnstap system test failed on some systems. 2016-09-08 11:40:47 +10:00
dscp 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
dsdigest 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
dyndb [v9_11] pass source file and line to dyndb load function 2016-08-25 18:09:45 -07:00
ecdsa 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
ednscompliance 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
emptyzones 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
fetchlimit 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
filter-aaaa 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
formerr 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
forward 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
geoip 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
glue 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
gost 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
inline Fix merge error in bin/tests/system/conf.sh.in, add missing cleanups in tests 2016-07-26 20:33:06 +02:00
ixfr 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
keymgr [v9_11] fix keymgr with low prepublication interval 2016-07-20 15:14:20 -07:00
legacy 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
limits 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
logfileconfig 4432. [testing] Hide rndc output on expected failures in logfileconfig 2016-08-10 13:07:05 +10:00
lwresd update copyright notice / whitespace 2016-08-09 00:25:59 +00:00
masterfile 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
masterformat 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
metadata 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
mkeys 4477. [test] Fix mkeys test timing issues. [RT #41028] 2016-10-05 13:45:37 +02:00
names 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
notify 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
nslookup [v9_11] add missing file 2016-07-21 12:45:39 -07:00
nsupdate update copyright notice / whitespace 2016-07-06 23:47:18 +00:00
nzd2nzf Fix typos in nzd2nzf test 2016-07-26 21:16:15 +02:00
pending 4483. [func] Check prefixes in acls to make sure the address and 2016-10-11 15:03:24 +11:00
pipelined 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
pkcs11 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
pkcs11ssl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
reclimit sleep 2 to let in progress lookups complete 2016-10-10 14:36:02 +11:00
redirect 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
resolver remove spurious 'i' 2016-08-26 13:43:18 +10:00
rndc ignore bin/tests/system/rndc/ns4/named.conf 2016-07-07 09:57:01 +10:00
rpz 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
rpzrecurse update copyright notice / whitespace 2016-08-15 23:45:57 +00:00
rrchecker 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
rrl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
rrsetorder 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
rsabigexponent 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
runtime 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
sfcache 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
smartsign 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
sortlist 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
spf 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
staticstub 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
statistics 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
statschannel make statschannel version number agnostic 2016-09-29 17:01:06 +10:00
stress 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
stub 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
tcp 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
tkey 4450. [port] Provide more nuanced HSM support which better matches 2016-08-19 08:05:47 +10:00
tsig 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
tsiggss 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
unknown 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
upforwd 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
v6synth 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
verify 4474. [bug] win32: call WSAStartup in fromtext_in_wks so that 2016-10-05 12:29:00 +11:00
views 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
wildcard 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
xfer 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
xferquota 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
zero 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
zonechecks 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
.gitignore fix .gitignore files 2012-04-23 08:17:26 -07:00
ans.pl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
clean.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
cleanall.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
cleanpkcs11.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
conf.sh.in 4460. [test] Add system test for dnstap using unix domain sockets. 2016-08-30 11:21:33 +10:00
digcomp.pl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
ditch.pl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
genzone.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
ifconfig.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
Makefile.in 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
org.isc.bind.system 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
org.isc.bind.system.plist 2948. [port] MacOS: provide a mechanism to configure the test 2010-08-25 04:51:51 +00:00
packet.pl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
README 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
run.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
runall.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
send.pl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
setup.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
start.pl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
start.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
stop.pl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
stop.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
testcrypto.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
testsock.pl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
testsock6.pl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00

Copyright (C) 2000, 2001, 2004, 2010, 2011, 2013, 2015, 2016  Internet Systems Consortium, Inc. ("ISC")

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.

This is a simple test environment for running bind9 system tests
involving multiple name servers.

There are multiple test suites, each in a separate subdirectory and
involving a different DNS setup.  They are:

  dnssec/	DNSSEC tests
  forward/	Forwarding tests
  glue/		Glue handling tests
  limits/	Tests of handling of large data (close to server limits)
  lwresd/	Tests of the lightweight resolver library and daemon
  notify/	More NOTIFY tests
  nsupdate/	Dynamic update and IXFR tests
  resolver/     Regression tests for resolver bugs that have been fixed
		(not a complete resolver test suite)
  rrl/		query rate limiting
  rpz/		Tests of response policy zone (RPZ) rewriting
  rpzrecurse/	Another set of RPZ tests to check recursion behavior
  stub/		Tests of stub zone functionality
  unknown/	Unknown type and class tests
  upforwd/	Update forwarding tests
  views/	Tests of the "views" statement
  xfer/		Zone transfer tests
  xferquota/	Zone transfer quota tests

Typically each test suite sets up 2-5 name servers and then performs
one or more tests against them.  Within the test suite subdirectory,
each name server has a separate subdirectory containing its
configuration data.  By convention, these subdirectories are named
"ns1", "ns2", etc.

The tests are completely self-contained and do not require access to
the real DNS.  Generally, one of the test servers (ns1) is set up as a
root name server and is listed in the hints file of the others.

To enable all servers to run on the same machine, they bind to
separate virtual IP address on the loopback interface.  ns1 runs on
10.53.0.1, ns2 on 10.53.0.2, etc.  Before running any tests, you must
set up these addresses by running "ifconfig.sh up" as root.

Mac OS X:
If you wish to make the interfaces survive across reboots
copy org.isc.bind.system and org.isc.bind.system to
/Library/LaunchDaemons then run
"launchctl load /Library/LaunchDaemons/org.isc.bind.system.plist" as
root.

The servers use port 5300 instead of the usual port 53, so they can be
run without root privileges once the interfaces have been set up.

The tests can be run individually like this:

  sh run.sh xfer
  sh run.sh notify
  etc.

To run all the tests, just type "make test".

When running system tests, named and lwresd can be run under
Valgrind. The output from Valgrind are sent to per-process files that
can be reviewed after the test has completed. To enable this, set the
USE_VALGRIND environment variable to "helgrind" to run the Helgrind
tool, or any other value to run the Memcheck tool. To use "helgrind"
effectively, build BIND with --disable-atomic.