bind9/bin/tests/system
Evan Hunt 2425d8bb7c [master] truncate logged rdata if too long
3490.	[bug]		When logging RDATA during update, truncate if it's
                        too long. [RT #32365]

cherry picked from:
        commit 16ddb566e5a5b57bf925adef2b5543dddc1de49b
        commit cd97e0c23b09f38aac49aabab66ee13c68b7a3f3
        commit d087fa982649c081d58c5bb16e63da3428e2b89d
        commit d0795bdffef57612dd7654ffd09c9f4216eee2c8
2013-02-20 13:54:52 -08:00
..
acl update copyright notice 2012-06-29 23:45:57 +00:00
additional update copyright notice 2013-01-09 23:45:53 +00:00
addzone update copyright notice 2013-01-08 23:45:50 +00:00
allow_query update copyright notice 2013-01-04 23:45:53 +00:00
autosign loop 'I:checking expired signatures were updated' test 2012-12-03 09:30:38 +11:00
builtin update copyright notice 2012-06-29 23:45:57 +00:00
cacheclean update copyright notice 2012-12-20 23:45:48 +00:00
checkconf update copyright notice 2013-01-02 23:45:51 +00:00
checkds update copyright notice 2013-01-02 23:45:51 +00:00
checknames update copyright notice 2012-06-29 23:45:57 +00:00
checkzone update copyright notice 2013-01-10 23:46:00 +00:00
common update copyright notice 2011-03-12 04:59:49 +00:00
database update copyright notice 2012-06-29 23:45:57 +00:00
dialup update copyright notice 2012-06-29 23:45:57 +00:00
dlv update copyright notice 2012-06-29 23:45:57 +00:00
dlvauto use stop.pl to ensure old server is fully shutdown before starting new server 2012-11-08 07:38:13 +11:00
dlz update copyright notice 2012-12-07 23:45:48 +00:00
dlzexternal [master] DLZ fixes 2013-01-22 15:13:08 -08:00
dlzredir update copyright notice 2012-12-07 23:45:48 +00:00
dname update copyright notice 2012-06-29 23:45:57 +00:00
dns64 update copyright notice 2013-01-17 23:46:25 +00:00
dnssec [master] fix incorrect nsec3 check 2013-01-23 14:56:00 -08:00
dsdigest add dsdigest 2012-10-03 14:04:48 +10:00
ecdsa reverse bad copyright update 2012-06-29 11:39:47 +10:00
filter-aaaa update copyright notice 2012-06-29 23:45:57 +00:00
formerr update copyright notice 2013-01-09 23:45:53 +00:00
forward update copyright notice 2012-06-29 23:45:57 +00:00
glue update copyright notice 2012-06-29 23:45:57 +00:00
gost update copyright notice 2012-06-29 23:45:57 +00:00
inline force integer output 2012-11-17 23:58:50 +11:00
ixfr [master] prevent ixfr/ns1 being removed 2013-01-21 14:16:15 -08:00
limits update copyright notice 2012-06-29 23:45:57 +00:00
logfileconfig update copyright notice 2013-01-05 23:45:47 +00:00
lwresd update copyright notice 2012-10-06 23:46:11 +00:00
masterfile update copyright notice 2012-12-20 23:45:48 +00:00
masterformat update copyright notice 2013-01-25 23:45:56 +00:00
metadata update copyright notice 2013-01-17 23:46:25 +00:00
notify update copyright notice 2012-06-29 23:45:57 +00:00
nsupdate [master] truncate logged rdata if too long 2013-02-20 13:54:52 -08:00
pending update copyright notice 2012-06-29 23:45:57 +00:00
pkcs11 update copyright notice 2013-01-04 23:45:53 +00:00
redirect update copyright notice 2012-06-29 23:45:57 +00:00
relay update copyright notice 2012-06-29 23:45:57 +00:00
resolver 3442. [port] Net::DNS 0.69 introduced a non backwards compatible 2012-12-19 08:46:36 +11:00
rndc update copyright notice 2013-01-02 23:45:51 +00:00
rpz update copyright notice 2012-06-29 23:45:57 +00:00
rrsetorder reverse bad copyright update 2012-06-29 11:39:47 +10:00
rsabigexponent 3437. [bug] isc_buffer_init -> isc_buffer_constinit to initialise 2012-12-08 12:48:57 +11:00
smartsign update copyright notice 2012-06-29 23:45:57 +00:00
sortlist update copyright notice 2012-06-29 23:45:57 +00:00
staticstub make tests less timing sensitive by spining 2012-09-18 14:49:58 +10:00
statistics 3442. [port] Net::DNS 0.69 introduced a non backwards compatible 2012-12-19 08:46:36 +11:00
stress update copyright notice 2012-06-29 23:45:57 +00:00
stub update copyright notice 2012-06-29 23:45:57 +00:00
tkey 3488. [bug] Use after free error with DH generated keys. [RT #32649] 2013-02-18 20:26:26 +11:00
tsig update copyright notice 2012-10-18 23:46:07 +00:00
tsiggss update copyright notice 2012-06-29 23:45:57 +00:00
unknown DIG -> $DIG 2012-12-08 15:35:01 +11:00
upforwd 3442. [port] Net::DNS 0.69 introduced a non backwards compatible 2012-12-19 08:46:36 +11:00
v6synth update copyright notice 2012-06-29 23:45:57 +00:00
verify update copyright notice 2013-01-23 23:45:55 +00:00
views update copyright notice 2012-06-29 23:45:57 +00:00
wildcard update copyright notice 2013-02-16 23:46:02 +00:00
xfer update copyright notice 2013-01-23 23:45:55 +00:00
xferquota update copyright notice 2012-06-29 23:45:57 +00:00
zonechecks reverse bad copyright update 2012-06-29 11:39:47 +10:00
.gitignore fix .gitignore files 2012-04-23 08:17:26 -07:00
ans.pl sign_tcp_continuation doesn't work with the newer versions of 2012-12-21 12:58:58 +11:00
cleanall.sh test for directory existance before calling find 2012-10-16 10:56:42 +11:00
cleanpkcs11.sh 3354. [func] Improve OpenSSL error logging. [RT #29932] 2012-07-23 15:08:21 +10:00
conf.sh.in update copyright notice 2013-01-09 23:45:53 +00:00
digcomp.pl update copyright notice 2012-06-29 23:45:57 +00:00
genzone.sh update copyright notice 2013-01-09 23:45:53 +00:00
ifconfig.sh update copyright notice 2013-01-21 23:45:48 +00:00
Makefile.in reverse bad copyright update 2012-06-29 11:39:47 +10:00
org.isc.bind.system update copyright notice 2012-06-29 23:45:57 +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:57 +00:00
README update copyright notice 2011-01-13 04:59:26 +00:00
run.sh update copyright notice 2012-06-29 23:45:57 +00:00
runall.sh update copyright notice 2012-06-29 23:45:57 +00:00
send.pl update copyright notice 2012-06-29 23:45:57 +00:00
setup.sh update copyright notice 2012-06-29 23:45:57 +00:00
start.pl limit the number of udp dispatches when testing to 4 2012-11-26 22:11:27 +11:00
start.sh update copyright notice 2012-06-29 23:45:57 +00:00
stop.pl update copyright notice 2012-06-29 23:45:57 +00:00
stop.sh update copyright notice 2012-06-29 23:45:57 +00:00
testsock.pl update copyright notice 2013-01-09 23:45:53 +00:00
testsock6.pl update copyright notice 2012-06-29 23:45:57 +00:00

Copyright (C) 2004, 2010, 2011  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)
  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 $