bind9/bin/tests/system
Michael Sawyer 1f29b6b7ab RH seems to have a problem if you open the sockets too quickly; add a sleep
in hopes of getting mirepoix to pass the tests
2000-06-26 23:46:20 +00:00
..
dnssec add RCS id string 2000-06-22 22:00:42 +00:00
limits add 5000.example verification test 2000-06-23 21:19:21 +00:00
lwresd prototype test_noop() and main() 2000-06-22 23:11:09 +00:00
notify add RCS id string 2000-06-22 22:00:42 +00:00
stub add RCS id string 2000-06-22 22:00:42 +00:00
views add RCS id string 2000-06-22 22:00:42 +00:00
xfer add RCS id string 2000-06-22 22:00:42 +00:00
xferquota add RCS id string 2000-06-22 22:00:42 +00:00
.cvsignore ignore conf.sh 2000-06-19 19:15:25 +00:00
clean.sh add RCS id string 2000-06-22 22:00:42 +00:00
cleanall.sh Add distclean target, different from clean target, which removes .run files 2000-06-23 21:28:17 +00:00
conf.sh.in add RCS id string 2000-06-22 22:00:42 +00:00
digcomp.pl add RCS id string 2000-06-22 22:00:42 +00:00
ifconfig.sh don't create or delete /var/run/system_test_ifsetup; 2000-06-25 16:52:31 +00:00
Makefile.in clean up a makefile problem that caused 'make distclean' and 'make cleandir' to fail for some makes 2000-06-26 18:00:15 +00:00
README minor editing 2000-06-16 19:51:34 +00:00
run.sh add RCS id string 2000-06-22 22:00:42 +00:00
setup.sh add RCS id string 2000-06-22 22:00:42 +00:00
start.sh Double allowable time for servers to start up. 2000-06-26 20:56:33 +00:00
stop.sh add RCS id string 2000-06-22 22:00:42 +00:00
testsock.pl RH seems to have a problem if you open the sockets too quickly; add a sleep 2000-06-26 23:46:20 +00:00

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:

  xfer/		Zone transfer, update, and NOTIFY tests
  notify/	More NOTIFY tests
  xferquota/	Zone transfer quota tests
  dnssec/	DNSSEC 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 start".

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.6 2000/06/16 19:51:34 gson Exp $