bind9/bin/tests/system
2018-01-22 23:47:25 +00:00
..
acl update copyright notice / whitespace 2017-11-30 23:46:50 +00:00
additional update copyright notice / whitespace 2017-10-24 23:48:58 +00:00
addzone 4850. [bug] Named failed to restart with multiple added zones in 2017-12-27 16:26:32 +11:00
allow_query 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
autosign increment test number 2017-12-08 14:50:46 +11:00
builtin [v9_11] simplify prereq checks by using feature-test.c 2016-10-31 17:47:42 -07: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 update copyright notice / whitespace 2018-01-15 23:47:32 +00:00
chain 4810. [test] The chain system test failed if the IPv6 interfaces 2017-11-08 10:18:23 +11:00
checkconf update copyright notice / whitespace 2017-10-30 23:46:33 +00:00
checkds 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
checknames 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
checkzone update copyright notice / whitespace 2018-01-22 23:47:25 +00:00
common 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
cookie update copyright notice / whitespace 2017-09-01 23:46:54 +00: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 [v9_11] dig: retain domain when retrying with tcp 2017-09-11 10:10:38 -07:00
dlv 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
dlz 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
dlzexternal update copyright notice / whitespace 2017-09-14 23:48:31 +00:00
dns64 add more DNS64 default exclude acl tests 2016-07-13 10:58:46 +10:00
dnssec read dig.out.ns3.test$n rather than dig.out.ns2.test$n 2017-10-25 15:03:18 +11:00
dnstap update copyright notice / whitespace 2017-12-22 23:46:35 +00:00
dscp 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
dsdigest 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
dyndb 4774. [bug] <isc/util.h> was incorrectly included in several 2017-10-19 12:32:53 +11:00
ecdsa 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
eddsa [v9_11] add missing eddsa files 2017-08-07 14:23:01 -07: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 [v9_11] Regenerate presigned zone for the filter-aaaa system test [RT #46283] 2017-10-16 09:46:02 +02: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 [v9_11] simplify prereq checks by using feature-test.c 2016-10-31 17:47:42 -07: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 update copyright notice / whitespace 2018-01-03 23:46:13 +00:00
integrity update copyright notice / whitespace 2017-01-12 23:46:13 +00:00
ixfr 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
keymgr update copyright notice / whitespace 2017-08-01 23:47:30 +00: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 update copyright notice / whitespace 2017-11-16 23:46:02 +00:00
lwresd 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
masterfile 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
masterformat update copyright notice / whitespace 2017-10-26 23:46:46 +00:00
metadata [v9_11] Prevent dnssec-settime from printing a bogus warning 2017-08-21 10:21:58 +02:00
mkeys [v9_11] Minor mkeys system test tweaks [RT #46649] 2017-11-27 10:05:15 +01:00
names 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
notify update copyright notice / whitespace 2017-11-08 23:46:04 +00:00
nslookup [v9_11] add missing file 2016-07-21 12:45:39 -07:00
nsupdate update copyright notice / whitespace 2018-01-22 23:47:25 +00:00
nzd2nzf Fix typos in nzd2nzf test 2016-07-26 21:16:15 +02:00
pending 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
pipelined update copyright notice / whitespace 2017-08-29 23:47:49 +00:00
pkcs11 update copyright notice / whitespace 2017-08-01 23:47:30 +00:00
pkcs11ssl 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
reclimit update copyright notice / whitespace 2017-11-21 23:46:04 +00:00
redirect 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
resolver update copyright notice / whitespace 2017-09-12 23:47:30 +00:00
rndc update copyright notice / whitespace 2018-01-13 23:48:14 +00:00
rpz adjust range 2017-03-02 12:34:17 +11:00
rpzrecurse update copyright notice / whitespace 2018-01-03 23:46:13 +00:00
rrchecker [v9_11] Add support for DOA 2017-10-06 12:56:41 +02:00
rrl [v9_11] make rrl system test more robust 2016-11-02 20:56:27 -07:00
rrsetorder 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
rsabigexponent 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
runtime 4846. [test] Adjust timing values in runtime system test. Address 2017-12-13 10:26:58 +11:00
sfcache 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
smartsign remove outdated cvs $Id strings 2017-02-03 18:39:57 +11:00
sortlist 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
spf 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
staticstub 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
statistics [v9_11] simplify prereq checks by using feature-test.c 2016-10-31 17:47:42 -07:00
statschannel update copyright notice / whitespace 2017-04-24 23:46:02 +00: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 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
tsig 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
tsiggss [v9_11] Move KRB5_CONFIG=/dev/null to conf.sh.* so the named run in the tests gets the setting 2017-10-11 08:51:03 -07:00
unknown 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
upforwd 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
v6synth 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
verify update copyright notice / whitespace 2017-08-14 23:49:57 +00:00
views 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
wildcard 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
win32 4585. [port] win32: Set CompileAS value. [RT #42474] 2017-04-20 12:42:39 +10:00
xfer [v9_11] Add support for DOA 2017-10-06 12:56:41 +02:00
xferquota 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
zero update copyright notice / whitespace 2017-09-12 23:47:30 +00:00
zonechecks 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
.gitignore [v9_11] simplify prereq checks by using feature-test.c 2016-10-31 17:47:42 -07:00
ans.pl update copyright notice / whitespace 2017-09-12 23:47:30 +00: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 [v9_11] Replace FNR with NR in the awk script used by nextpart() 2017-11-02 06:50:52 +01:00
conf.sh.win32 set SAMPLEUPDATE under windows; test if SAMPLEUPDATE exists and only run tests if it does 2017-11-11 09:25:30 +11:00
digcomp.pl [v9_11] simplify prereq checks by using feature-test.c 2016-10-31 17:47:42 -07:00
ditch.pl 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
feature-test.c update copyright notice / whitespace 2017-12-20 23:47:04 +00:00
genzone.sh [v9_11] Add support for DOA 2017-10-06 12:56:41 +02:00
ifconfig.bat 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
ifconfig.sh 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
Makefile.in [v9_11] make uninstall 2016-11-01 19:17:23 -07: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 report if named.run or named.memstats not removed after successful test 2017-10-24 12:45:50 +11: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 update copyright notice / whitespace 2017-05-24 23:45:56 +00:00
start.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
stop.pl 4487. [test] Make system tests work on Windows. [RT #42931] 2016-10-19 17:21:13 +02:00
stop.sh 4401. [misc] Change LICENSE to MPL 2.0. 2016-06-27 14:56:38 +10:00
testcrypto.sh update copyright notice / whitespace 2017-08-01 23:47:30 +00: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.