bind9/bin/tests/system
Brian Wellington fa342c624a Added start.sh and stop.sh, which read the values from conf.sh into the
environment and call the perl scripts.
2001-02-21 20:11:34 +00:00
..
common copyright update 2001-01-09 22:01:04 +00:00
dialup copyright update 2001-01-09 22:01:04 +00:00
dnssec Test that both normal and ANY queries that match a CNAME are properly 2001-02-21 06:47:45 +00:00
forward copyright update 2001-01-09 22:01:04 +00:00
glue fix copyright 2001-01-13 00:38:08 +00:00
limits leave more evidence when failing 2001-02-14 02:42:10 +00:00
lwresd add -- before non-option argument starting with a dash so as not to 2001-02-14 02:03:45 +00:00
notify Use start.pl and stop.pl to start and stop servers during test. 2001-02-14 00:16:38 +00:00
nsupdate exit if restarting server fails; increase sleep after SIGKILLing server 2001-02-15 01:04:06 +00:00
relay share the root.hint file among most of the system tests instead of having multiple identical copies 2001-01-11 20:44:21 +00:00
resolver copyright update 2001-01-09 22:01:04 +00:00
sortlist head is not in the default path on irix, but sed is 2001-01-13 00:02:55 +00:00
stress updated 2001-01-11 20:07:35 +00:00
stub share the root.hint file among most of the system tests instead of having multiple identical copies 2001-01-11 20:44:21 +00:00
tkey argument handling was broken 2001-02-14 00:13:33 +00:00
unknown copyright update 2001-01-09 22:01:04 +00:00
upforwd copyright update 2001-01-09 22:01:04 +00:00
v6synth added IPv6 synthesis tests 2001-01-10 01:19:06 +00:00
views Shorten a bunch of sleeps. Let's see if this breaks anything. 2001-01-17 20:53:44 +00:00
xfer share the root.hint file among most of the system tests instead of having multiple identical copies 2001-01-11 20:44:21 +00:00
xferquota share the root.hint file among most of the system tests instead of having multiple identical copies 2001-01-11 20:44:21 +00:00
.cvsignore ignore conf.sh 2000-06-19 19:15:25 +00:00
cleanall.sh copyright update 2001-01-09 22:01:04 +00:00
conf.sh.in run the v6synth test by default; explain why stress test is not run by default 2001-01-11 21:12:10 +00:00
digcomp.pl copyright update 2001-01-09 22:01:04 +00:00
ifconfig.sh Support Solaris x86, improve Solaris support, support Linux on non x86. 2001-02-12 23:06:44 +00:00
Makefile.in Add a tkey system test 2001-01-11 20:45:53 +00:00
README edited 2000-12-19 19:21:06 +00:00
run.sh Use start.pl and stop.pl instead of start.sh and stop.sh. 2001-02-14 00:14:24 +00:00
runall.sh copyright update 2001-01-09 22:01:04 +00:00
setup.sh copyright update 2001-01-09 22:01:04 +00:00
start.pl Use stop.pl to stop servers, not stop.sh. 2001-02-15 00:07:03 +00:00
start.sh Added start.sh and stop.sh, which read the values from conf.sh into the 2001-02-21 20:11:34 +00:00
stop.pl start and stop the servers in alphabetical order 2001-02-14 23:57:33 +00:00
stop.sh Added start.sh and stop.sh, which read the values from conf.sh into the 2001-02-21 20:11:34 +00:00
testsock.pl Added ability to test port on a single ip address. 2001-02-14 00:09:44 +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:

  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)
  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 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.9 2000/12/19 19:21:06 gson Exp $