bind9/bin/tests/system
Mark Andrews c10c7ddb6e 3819. [bug] NSEC3 hashes need to be able to be entered and
displayed without padding.  This is not a issue for
                        currently defined algorithms but may be for future
                        hash algorithms. [RT #27925]

(cherry picked from commit 36e5ac0033)
2014-04-24 19:12:08 +10:00
..
acl update copyright notice 2013-09-16 23:45:41 +00:00
additional update copyright notice 2013-09-16 23:45:41 +00:00
addzone [v9_9] comment nzf files 2013-09-19 15:43:18 -07:00
allow_query update copyright notice 2013-09-16 23:45:41 +00:00
autosign [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
builtin update copyright notice 2012-06-29 23:45:45 +00:00
cacheclean 3667. [func] dig: add support to keep the TCP socket open between 2013-11-13 10:29:38 +11:00
case update copyright notice 2014-03-06 23:45:28 +00:00
checkconf [v9_9] allow null "file" for alternate db zones 2014-04-07 13:44:40 -07:00
checkds [v9_9] enable windows python tools 2014-02-26 08:47:25 -08:00
checknames update copyright notice 2012-06-29 23:45:45 +00:00
checkzone 3819. [bug] NSEC3 hashes need to be able to be entered and 2014-04-24 19:12:08 +10:00
common update copyright notice 2011-03-12 04:59:49 +00:00
coverage [v9_9] testcrypto.sh in system tests 2014-02-06 16:10:03 -08:00
database update copyright notice 2012-06-29 23:45:45 +00:00
dialup update copyright notice 2012-06-29 23:45:45 +00:00
dlv [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
dlvauto [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
dlz update copyright notice 2013-04-29 23:45:41 +00:00
dlzexternal [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
dname update copyright notice 2012-06-29 23:45:45 +00:00
dns64 [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
dnssec [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
dsdigest [v9_9] testcrypto.sh in system tests 2014-02-06 16:10:03 -08:00
ecdsa [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
emptyzones update copyright notice 2014-01-17 23:45:49 +00:00
filter-aaaa [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
formerr update copyright notice 2014-02-17 23:45:50 +00:00
forward update copyright notice 2013-08-16 23:45:40 +00:00
glue update copyright notice 2013-09-18 23:45:47 +00:00
gost [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
inline [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
ixfr [v9_9] testcrypto.sh in system tests 2014-02-06 16:10:03 -08:00
limits update copyright notice 2012-06-29 23:45:45 +00:00
logfileconfig 3587. [func] 'named -g' now checks the logging configuration but 2013-06-06 11:10:37 +10:00
lwresd update copyright notice 2013-03-05 23:45:43 +00:00
masterfile update copyright notice 2012-12-20 23:45:35 +00:00
masterformat [v9_9] testcrypto.sh in system tests 2014-02-06 16:10:03 -08:00
metadata [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
notify update copyright notice 2012-06-29 23:45:45 +00:00
nsupdate [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
pending [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
pkcs11 [v9_9] testcrypto.sh in system tests 2014-02-06 16:10:03 -08:00
redirect [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
relay update copyright notice 2012-06-29 23:45:45 +00:00
resolver [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
rndc update copyright notice 2013-09-16 23:45:41 +00:00
rpz [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
rrl s/exit 1/exit 255/ so that test is marked as SKIPPED not UNTESTED 2013-06-11 09:20:26 +10:00
rrsetorder update copyright notice 2013-08-07 23:45:41 +00:00
rsabigexponent [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
smartsign [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
sortlist update copyright notice 2012-06-29 23:45:45 +00:00
spf update copyright notice 2013-04-30 04:51:25 +00:00
staticstub [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
stress update copyright notice 2012-06-29 23:45:45 +00:00
stub update copyright notice 2012-06-29 23:45:45 +00:00
tkey [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
tsig update copyright notice 2012-10-18 23:45:54 +00:00
tsiggss [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
unknown [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
upforwd [v9_9] testcrypto.sh in system tests 2014-02-06 16:10:03 -08:00
v6synth update copyright notice 2012-06-29 23:45:45 +00:00
verify [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
views update copyright notice 2012-06-29 23:45:45 +00:00
wildcard [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
xfer [v9_9] testcrypto.sh in system tests 2014-02-06 16:10:03 -08:00
xferquota update copyright notice 2012-06-29 23:45:45 +00:00
zero 3577. [bug] Handle zero TTL values better. [RT #33411] 2013-05-29 18:12:22 +10:00
zonechecks [v9_9] testcrypto.sh in system tests 2014-02-06 16:10:03 -08:00
.gitignore [v9_9] testcrypto.sh in system tests 2014-02-06 16:10:03 -08:00
ans.pl sign_tcp_continuation doesn't work with the newer versions of 2012-12-21 13:01:40 +11:00
cleanall.sh test for directory existance before calling find 2012-10-16 10:56:30 +11:00
cleanpkcs11.sh 3354. [func] Improve OpenSSL error logging. [RT #29932] 2012-07-23 15:09:42 +10:00
conf.sh.in [v9_9] testcrypto.sh in system tests 2014-02-06 16:10:03 -08:00
digcomp.pl update copyright notice 2013-09-18 23:45:47 +00:00
genzone.sh 3639. [bug] Treat type 65533 (KEYDATA) as opaque except when used 2013-09-17 10:37:56 +10:00
ifconfig.sh update copyright notice 2013-01-21 23:45:36 +00:00
Makefile.in [v9_9] testcrypto.sh in system tests 2014-02-06 16:10:03 -08:00
org.isc.bind.system update copyright notice 2012-06-29 23:45:45 +00: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 update copyright notice 2012-06-29 23:45:45 +00:00
README update copyright notice 2013-06-08 23:45:45 +00:00
run.sh [v9_9] testcrypto.sh in system tests 2014-02-06 16:10:03 -08:00
runall.sh update copyright notice 2014-03-01 23:45:35 +00:00
send.pl update copyright notice 2012-06-29 23:45:45 +00:00
setup.sh update copyright notice 2012-06-29 23:45:45 +00:00
start.pl update copyright notice 2013-09-23 23:45:46 +00:00
start.sh update copyright notice 2012-06-29 23:45:45 +00:00
stop.pl update copyright notice 2012-06-29 23:45:45 +00:00
stop.sh update copyright notice 2012-06-29 23:45:45 +00:00
testcrypto.sh [v9_9] use test -r in system tests 2014-04-09 20:30:17 -07:00
testsock.pl update copyright notice 2013-01-09 23:45:38 +00:00
testsock6.pl update copyright notice 2012-06-29 23:45:45 +00:00

Copyright (C) 2004, 2010, 2011, 2013  Internet Systems Consortium, Inc. ("ISC")
Copyright (C) 2000, 2001  Internet Software Consortium.
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.

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
  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".

$Id: README,v 1.16 2011/01/13 04:59:24 tbox Exp $