Commit graph

2403 commits

Author SHA1 Message Date
Brian Wellington
4014b6a8ae although a privately secure zone was signed, it was never tested. 2002-02-13 01:32:12 +00:00
Brian Wellington
64ea670052 the dynamic zone test wasn't working as expected since the child zone wasn't
securely delegated.
2002-02-06 03:28:59 +00:00
Brian Wellington
4ca54c8f3b ns5 is the incorrectly configured server, not ns4. 2002-02-01 01:56:00 +00:00
Andreas Gustafsson
473ca0bf8c Added RT #2399 regression test 2002-01-22 22:27:29 +00:00
Mark Andrews
2c63b97c09 update tests for MD and MF know longer being loadable 2001-12-12 06:24:11 +00:00
Brian Wellington
0e40083fdd @DNS_OPENSSL_LIBS@ -> @DNS_CRYPTO_LIBS@ 2001-11-06 20:05:13 +00:00
Brian Wellington
78baa4ccb8 some files weren't being removed. 2001-11-06 19:32:54 +00:00
Mark Andrews
72499be79f 1103. [port] OpenUNIX 8 support (ifconfig.sh). [RT #1970] 2001-11-05 04:19:56 +00:00
Andreas Gustafsson
17b687ef36 1080. [bug] BIND 8 compatibility: accept bare IP prefixes
as the second element of a two-element top level
                        sort list statement. [RT #1964]
2001-10-30 20:19:34 +00:00
Andreas Gustafsson
1c31f17f89 added regression test for RT #1866, #1869 2001-10-09 22:58:24 +00:00
Andreas Gustafsson
06365907a0 don't assume perl is in the path 2001-10-09 22:31:39 +00:00
Andreas Gustafsson
094d1d9a27 the tkey test would randomly fail due to key IDs with a leading
zero being interpreted as octal numbers
2001-10-09 22:24:24 +00:00
Andreas Gustafsson
8bd6c39d5e clean more files 2001-09-26 23:33:19 +00:00
Andreas Gustafsson
99f08fc172 ignore more files 2001-09-26 23:29:12 +00:00
Andreas Gustafsson
83515c3462 ifconfig.sh can now be invoked either from bin/tests/system or from the top level directory [RT #1758] 2001-09-26 23:16:26 +00:00
Andreas Gustafsson
f8d86ef2f6 if network interfaces are not not configured,
urge the user to configure them [RT #1757]
2001-09-22 01:10:41 +00:00
Andreas Gustafsson
589a8a85b3 clarified messages 2001-09-22 01:10:03 +00:00
Andreas Gustafsson
2e189b0677 if a server does not die when sent a SIGTERM, kill it using
SIGABRT, not SIGKILL, so that we get a core file to analyze.  Also make
sure we return with a nonzero exit status in this case.
2001-09-20 18:33:51 +00:00
Mark Andrews
c2bc56dc65 Move configuration checking to libbind9. 2001-09-20 15:17:07 +00:00
Andreas Gustafsson
e4b5f088ca Added RT #1763 regression test 2001-09-19 21:19:52 +00:00
Andreas Gustafsson
1301637cc5 check that negative validation fails with a misconfigured trusted key 2001-09-19 20:47:02 +00:00
Andreas Gustafsson
e1e635578d use ifconfig.sh up, not ifconfig.sh start, to be
consistent with the ifconfig.sh usage message [RT #1758]
2001-09-17 21:42:47 +00:00
Andreas Gustafsson
66870de523 support 'make check' as an alias for 'make test' 2001-09-17 20:47:51 +00:00
Andreas Gustafsson
f4f9761c84 note that ifconfig.sh must be run as root 2001-09-17 20:33:54 +00:00
Brian Wellington
81b172466c *** empty log message *** 2001-09-17 17:47:20 +00:00
Brian Wellington
206bced36f order the parameters to dnssec-keygen consistently. 2001-09-17 17:42:04 +00:00
Andreas Gustafsson
99f467f016 test the ixfr-from-differences option 2001-09-08 00:24:33 +00:00
Andreas Gustafsson
260696e5e3 cleaned up xfer system test in preparation for adding
ixfr-from-differences tests
2001-09-07 23:29:52 +00:00
Andreas Gustafsson
f3bbe7772f added script for generating zone data, for use in system
tests so that they don't all need to have their own (duplicated)
zone data
2001-09-07 23:29:03 +00:00
Andreas Gustafsson
4b8b883127 Dollar sign in $TTL needs to be escaped; 80 columns 2001-09-07 00:57:25 +00:00
Andreas Gustafsson
7aac53eb69 Actually, this file should not be in CVS at all since it's machine
generated by setup.sh.
2001-09-07 00:49:03 +00:00
Andreas Gustafsson
f56cdc894f reverted unintentional commit 2001-09-07 00:35:40 +00:00
Andreas Gustafsson
b39ad8a69b when assigning to isc_mem_debugging, use symbolic names for
the flags, not magic integer constants
2001-09-06 23:14:42 +00:00
Andreas Gustafsson
b4636f4587 update_copyrights 2001-08-09 00:33:47 +00:00
Andreas Gustafsson
f4909f01a7 the test outcome should not depend on the dig version printed 2001-08-09 00:10:56 +00:00
Andreas Gustafsson
2627aca3bb oops, one too may CFLAGS snuck in 2001-08-01 22:16:06 +00:00
Andreas Gustafsson
0a53284205 951. [bug] CFLAGS was not passed to the linker when
linking some of the test programs under
                        bin/tests. [RT #1555].
2001-08-01 22:06:29 +00:00
Andreas Gustafsson
e0315f2160 added 'masterfile' system test to make sure
rt #1558 does not happen again
2001-08-01 19:01:02 +00:00
Andreas Gustafsson
07dcadc6e2 update_copyrights 2001-07-17 20:29:36 +00:00
Andreas Gustafsson
25525110c1 fixed and simplified 2001-07-13 18:29:00 +00:00
Brian Wellington
20d13d8975 remove generated file 2001-07-12 01:20:56 +00:00
Brian Wellington
828bd291c6 Only remove generated files. 2001-07-12 00:20:57 +00:00
Brian Wellington
f4d26dbdb6 fix redirection 2001-07-11 19:02:16 +00:00
Brian Wellington
1a8002871e require a build with openssl to run dnssec & tkey tests 2001-07-10 21:41:14 +00:00
Andreas Gustafsson
f0b6aa146e avoid using .orig as a filename extension, as it will be ignored by cvs import 2001-07-03 00:05:15 +00:00
Andreas Gustafsson
cf2e85ee9c typo 2001-06-14 22:24:16 +00:00
Andreas Gustafsson
3446187a42 consistently assume ifconfig is in path regardless of
platform and regardless of whether configuring interfaces up or down
2001-06-14 14:10:32 +00:00
Andreas Gustafsson
1c8409706f consistent ordering 2001-06-14 14:08:51 +00:00
Andreas Gustafsson
ddae6fe9c7 simplified 2001-06-14 14:06:04 +00:00
Mark Andrews
ef8d97818f 901. [bug] More Unixware config.guess related changes. 2001-06-14 04:52:39 +00:00
Olafur Gudmundsson
112d9875bf config.guess update changed FreeBSD system identifier 2001-06-12 03:34:01 +00:00
Brian Wellington
1969ab5360 copyright updates 2001-05-30 20:31:08 +00:00
Mark Andrews
4fbd6a13a5 #838 7.1.1 -> 7.x.x 2001-05-24 23:58:24 +00:00
Mark Andrews
761a21dfab 838. [port] UnixWare 7.1.1 is now suported by
bin/tests/system/ifconfig.sh.
2001-05-24 23:55:48 +00:00
Andreas Gustafsson
b56607d483 the ixfr test requires Net::DNS 2001-05-14 22:35:57 +00:00
Andreas Gustafsson
13b9abae18 uninitialized variable 2001-05-10 19:05:00 +00:00
Andreas Gustafsson
c6c5f2db75 added .cvsignore file 2001-05-10 19:01:51 +00:00
Andreas Gustafsson
89485c1d71 added incremental zone transfer test 2001-05-10 18:29:09 +00:00
Andreas Gustafsson
67a3554aa6 use $PERL 2001-05-10 16:28:57 +00:00
Andreas Gustafsson
73a0d5c6ec do not assume . is in $PATH 2001-05-09 21:55:44 +00:00
Andreas Gustafsson
3ee7b0d2cd set the SO_REUSEADDR socket option, like named itself does 2001-04-24 01:52:16 +00:00
Andreas Gustafsson
7f4bf5aaac 8-columns indentation and consistent spacing 2001-04-24 01:23:28 +00:00
Andreas Gustafsson
fa1a39a514 avoid unnecessary auto array initialization 2001-04-16 17:23:34 +00:00
Brian Wellington
d4ef65050f copyright updates
(note - this doesn't touch lib/bind at all.  Mark, whenever you're done with
lib/bind, make sure to do the copyright magic)
2001-04-10 21:52:17 +00:00
Brian Wellington
734ae1f7c6 isc_{base64|hex}_decodestring took an unused mctx. Remove the mctx. 2001-03-22 00:07:07 +00:00
Brian Wellington
298273b535 The updated config.guess now calls linux "linux" instead of "linux-gnu" 2001-03-16 21:44:35 +00:00
Brian Wellington
bbbcb61fb2 Add one more test; make sure configuration files are legal. 2001-03-09 18:49:57 +00:00
Andreas Gustafsson
f0a1134d33 updated 2001-03-08 18:44:59 +00:00
David Lawrence
8423f8296a added cacheclean to SUBDIRS to have its test execute with runall.sh 2001-03-08 16:19:35 +00:00
Brian Wellington
e2f470bebb Check that rndc stop syncs zone files. 2001-03-08 02:59:47 +00:00
Damien Neil
2f5f42596b - Stop can now use rndc, when passed the --use-rndc option.
- Slightly restructured code to eliminate duplication.
- No longer waits five seconds for a server to die, if it dies promptly.
2001-03-08 02:34:01 +00:00
Brian Wellington
53aed64e0f add missing .cvsignore files 2001-03-06 01:51:34 +00:00
Brian Wellington
b9a99f0772 remove 'ans.run' files 2001-03-05 22:54:08 +00:00
David Lawrence
9c2e820b3b new test for exercising cache cleaning 2001-03-05 12:50:08 +00:00
Brian Wellington
494e26b333 clean up properly 2001-03-04 21:17:42 +00:00
Brian Wellington
626f97e223 allow-update is not allowed in slave zones 2001-03-02 02:44:51 +00:00
Andreas Gustafsson
f65a42f377 exit with a nonzero status if there were errors 2001-03-01 02:35:13 +00:00
Brian Wellington
2fa9cf0bf9 remove extraneous spaces 2001-02-28 03:05:01 +00:00
Brian Wellington
7a224ba59b test that validation of an ANY query returning a DNAME works 2001-02-23 06:22:11 +00:00
Brian Wellington
529d1b9ada test that validation of a query returning a DNAME works 2001-02-23 06:14:44 +00:00
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
Brian Wellington
4f91c46a42 Test that both normal and ANY queries that match a CNAME are properly
validated.
2001-02-21 06:47:45 +00:00
Brian Wellington
a41ab607a4 Test that validation of ANY queries works. Also add data to be used for
CNAME/DNAME tests, but not the tests yet since they fail.
2001-02-20 18:33:50 +00:00
Andreas Gustafsson
3ad7f12f74 exit if restarting server fails; increase sleep after SIGKILLing server
to give sockets time to be freed
2001-02-15 01:04:06 +00:00
Matt Nelson
214eae639d Made obsolete by .pl version. 2001-02-15 00:10:33 +00:00
Matt Nelson
2d556761c2 Use stop.pl to stop servers, not stop.sh. 2001-02-15 00:07:03 +00:00
Andreas Gustafsson
3e42d5b2bb start and stop the servers in alphabetical order 2001-02-14 23:57:33 +00:00
Andreas Gustafsson
927fe08882 leave more evidence when failing 2001-02-14 02:42:10 +00:00
Andreas Gustafsson
1b003261c2 stop.pl should replace only kill -TERM, not kill -KILL; the test is
specifically trying to test how the server behaves when shut down uncleanly
2001-02-14 02:11:17 +00:00
Andreas Gustafsson
edd03c5600 add -- before non-option argument starting with a dash so as not to
confuse the Perl Getopt module
2001-02-14 02:03:45 +00:00
Matt Nelson
614610ba0b Use start.pl and stop.pl to start and stop servers during test. 2001-02-14 00:16:38 +00:00
Matt Nelson
a60a0fd346 Use start.pl and stop.pl instead of start.sh and stop.sh. 2001-02-14 00:14:24 +00:00
Brian Wellington
5226a9f307 argument handling was broken 2001-02-14 00:13:33 +00:00
Matt Nelson
557e104278 Added ability to test port on a single ip address. 2001-02-14 00:09:44 +00:00
Matt Nelson
cf1dd93491 Rewrite of stop.sh in perl. Added ability to stop single server. 2001-02-13 23:41:00 +00:00
Matt Nelson
7b8ebf78a8 Rewrite of start.sh in perl. Added ability to start single specified server
and to skip cleanup of server files.
2001-02-13 23:39:50 +00:00
Brian Wellington
8b473437f1 Support Solaris x86, improve Solaris support, support Linux on non x86. 2001-02-12 23:06:44 +00:00
Brian Wellington
ae73c78406 some data structures weren't freed. 2001-02-05 23:09:05 +00:00
Stephen Jacob
dc7c9751e7 added purify support (${PURIFY} to link commands) to missed test Makefile.in 2001-02-02 01:01:22 +00:00
Stephen Jacob
7bc8deb30f purify support (${PURIFY added to link commands) for all in bin/tests 2001-02-01 23:41:55 +00:00
Brian Wellington
9fb7cdd126 call getrrsetbyname with a zero length name 2001-01-22 22:12:45 +00:00
Brian Wellington
6484f6ac04 oops, removed too many sleeps. 2001-01-18 22:43:49 +00:00
Brian Wellington
d0dc01dd9d Shorten a bunch of sleeps. Let's see if this breaks anything. 2001-01-17 20:53:44 +00:00
Brian Wellington
53ee4a89ad fix copyright 2001-01-13 00:38:08 +00:00
Brian Wellington
cb2fcb2a66 remove a const-related warning 2001-01-13 00:26:09 +00:00
Andreas Gustafsson
cd0d4cbce0 head is not in the default path on irix, but sed is 2001-01-13 00:02:55 +00:00
Brian Wellington
619ee46ac6 Copy cache.in to cache before running the test, so it's not overwritten on
exit.
2001-01-12 22:14:59 +00:00
Andreas Gustafsson
ddec026ff9 run the v6synth test by default; explain why stress test is not run by default 2001-01-11 21:12:10 +00:00
Brian Wellington
73eb75dc21 add copyrights to the tkey system test 2001-01-11 20:51:19 +00:00
Brian Wellington
2f9db90bf6 Add a tkey system test 2001-01-11 20:45:53 +00:00
Andreas Gustafsson
1988fd60fa 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
Andreas Gustafsson
f6bbaee0b2 updated 2001-01-11 20:07:35 +00:00
Brian Wellington
b401a139eb ${UOBJS} was used, but never defined. Probably a cut and paste error. 2001-01-11 18:05:15 +00:00
Andreas Gustafsson
8227257b1c added IPv6 synthesis tests 2001-01-10 01:19:06 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
Brian Wellington
ec772e873b 651. [func] The AD bit in responses now has the meaning
specified in <draft-ietf-dnsext-ad-is-secure>.
2001-01-04 00:24:26 +00:00
Andreas Gustafsson
f131164c62 incorrect root hint directory 2000-12-22 18:57:18 +00:00
Andreas Gustafsson
275c618823 added stress test 2000-12-22 17:03:03 +00:00
Andreas Gustafsson
93ac5ecb55 added shared root.hint file 2000-12-22 17:01:51 +00:00
Andreas Gustafsson
87e15b393c avoid the file name extension '.orig' so as not to conflict with 'patch' 2000-12-21 23:44:51 +00:00
Brian Wellington
039c8eda34 test a few more things about getrrsetbyname() 2000-12-20 03:42:01 +00:00
Andreas Gustafsson
1928be262c edited 2000-12-19 19:21:06 +00:00
Mark Andrews
96f66b3396 make views test work 2000-12-19 03:42:36 +00:00
Andreas Gustafsson
c877d7db8f use common configuration files 2000-12-18 23:24:24 +00:00
Andreas Gustafsson
bfc41f13e7 clenup 2000-12-18 22:39:17 +00:00
Andreas Gustafsson
8351864ef8 added directory bin/tests/system/common for code to be shared by
multiple system tests
2000-12-18 21:04:27 +00:00
Andreas Gustafsson
f19771c55d 617. [bug] When using dynamic update to add a new RR to an
existing RRset with a different TTL, the journal
                        entries generated from the update did not include
                        explicit deletions and re-additions of the existing
                        RRs to update their TTL to the new value.
2000-12-16 00:58:03 +00:00
Andreas Gustafsson
0f5542c35c Makefile.in did not devine VPATH, which caused Marks's
makefile-out-of-date hack to fail when using a separate build
directory
2000-12-15 01:40:40 +00:00
Brian Wellington
58082ab8a8 The "cachefile" option now loads the file on startup. The "temporary" -x
option to named is no more.
2000-12-12 23:05:59 +00:00
Brian Wellington
30bc8ee6bc chmod all core files to 0644, to make tests easier to debug 2000-12-06 19:37:19 +00:00
Andreas Gustafsson
a3e41e3c03 obey the allow-update forwarding option for both signed and unsigned updates;
fold the upforwd system test README file and nsupdate input files into the tests.sh script;
other minor cleanup of the upforwd test
2000-12-01 21:37:17 +00:00
Andreas Gustafsson
b199bc831e bypass running scripts if we are using a separate
build directory
2000-12-01 02:17:15 +00:00
Andreas Gustafsson
f333ea9bdd added notify-source options 2000-11-28 19:07:00 +00:00
Mark Andrews
94e5d79449 Use "nsupdate filename" rather than "nsupdate < filename". 2000-11-28 03:21:17 +00:00
Mark Andrews
dfd7798d8b 578. [func] Notify-source, specify the source address for notify
messages.
2000-11-25 02:43:56 +00:00
Brian Wellington
2c46670fb4 ignore stdout from the dnssec tools 2000-11-22 20:37:50 +00:00
Andreas Gustafsson
0f8a8f4552 cleanup of test output and shell code 2000-11-22 19:00:46 +00:00
Andreas Gustafsson
7318850b28 transfer-source option added in previous change was
misspelled
2000-11-22 18:52:38 +00:00
Andreas Gustafsson
b88cdaa99b don't destroy evidence by cleaning the test directory
when a test fails
2000-11-22 18:31:27 +00:00
Andreas Gustafsson
5337a9e53c added regression test for RT #482 (which will fail
until the bug is fixed)
2000-11-22 18:26:30 +00:00
Mark Andrews
c210363ad9 only one transfer-source is allowed. 2000-11-22 12:20:54 +00:00
Andreas Gustafsson
4f37905cc3 added 'transfer-source' directives to all system test named.conf
files, so that tests succeed while transfer-source is still being (ab)used as
the notify source address
2000-11-22 01:34:19 +00:00
Andreas Gustafsson
01da43e63a pass the +dnssec flag to DIG 2000-11-22 01:26:24 +00:00
Andreas Gustafsson
35fb45afec when checking whether the TC flag is set, ignore the other
flags - in particular, we don't care whether the AD flag is set or not
2000-11-22 01:21:44 +00:00
Andreas Gustafsson
5a77e9620a make spacing in listen-on-v6 option consistent with other options 2000-11-21 23:50:10 +00:00
Michael Sawyer
2de413d956 Make the test properly query server 2. 2000-11-21 23:41:25 +00:00
Brian Wellington
7803df6c0a update unknown rr test 2000-11-20 21:58:45 +00:00
Andreas Gustafsson
28002bd7cb replaced update.scp with a here document 2000-11-20 17:59:20 +00:00
Andreas Gustafsson
bca6ff69a7 removed redundant comment 2000-11-20 17:53:41 +00:00
Brian Wellington
c24821e142 test that lowercase hex characters are accepted 2000-11-19 20:59:18 +00:00
Brian Wellington
cffe50abf6 Lots of copyright updates 2000-11-18 03:01:17 +00:00
Mark Andrews
e639a3ee48 specify src address for IP based update 2000-11-16 06:00:09 +00:00
Brian Wellington
4fec24891d some files weren't properly cleaned. 2000-11-16 00:20:22 +00:00
Brian Wellington
5337799589 ignore named.run 2000-11-16 00:19:55 +00:00
Brian Wellington
284b13b98b actually run the new test added yesterday 2000-11-15 23:55:07 +00:00
Brian Wellington
a31c0e3966 Test that the unknown rr type code doesn't load compressed rdata. 2000-11-14 23:52:06 +00:00
Andreas Gustafsson
917c8406f6 handle negated sortlist entries correctly 2000-11-11 00:26:52 +00:00
Andreas Gustafsson
e5167b6d4c made ifconfig.sh usage message recommend 'up/down' form instead of 'start/stop' 2000-11-11 00:19:24 +00:00
Andreas Gustafsson
84abb95f7e 551. [func] Implemented the 'sortlist' option. 2000-11-10 03:41:08 +00:00
Andreas Gustafsson
febaa09184 551. [func] Implemented the 'sortlist' option. 2000-11-10 03:16:26 +00:00
Brian Wellington
ca44fe49be Add a system test for records with unknown types/classes. There are probably
a lot more things that could be tested here.
2000-11-10 03:05:54 +00:00
Mark Andrews
23dd2af8d3 additional test server 2000-11-10 02:36:38 +00:00
Brian Wellington
964c3f4a6e ignore named.run files 2000-11-09 19:42:35 +00:00
Mark Andrews
162095ca41 Now knowngood.afer1 and knowngood.before 2000-11-06 08:34:59 +00:00
Mark Andrews
38d9dc1628 542. [func] Add allow-update-forwarding support. 2000-11-06 08:33:10 +00:00
Mark Andrews
0fc89c4ee6 540. [func] Add dialup support. 2000-11-03 07:16:09 +00:00
Brian Wellington
046862bebe basic getrrsetbyname() tests 2000-11-02 02:05:01 +00:00
Brian Wellington
3a372f7aaf Add a signed record. The SIG doesn't verify (verification isn't even
attempted), but getrrsetbyname returns it.
2000-11-02 02:04:15 +00:00
Mark Andrews
533df4efda 537. [func] Use transfer-source{-v6} when notify messages. 2000-10-31 05:34:18 +00:00
Brian Wellington
0656756d82 With search path processing in the server, LWRES_R_INCOMPLETE is no longer
returned.
2000-10-28 00:44:46 +00:00
Brian Wellington
d34b3b1c12 Add search and ndots statements 2000-10-24 04:30:25 +00:00
Andreas Gustafsson
a5044c42a8 added copyright message 2000-10-17 20:13:56 +00:00
Andreas Gustafsson
86cbec9012 update_copyrights treated CONF-SH comments as C comments
due to inappropriate use of prefix regexp matching
2000-10-17 19:28:55 +00:00
Brian Wellington
6177fc9897 A lot of files generated by libtool were not properly ignored. 2000-10-16 23:44:25 +00:00
Brian Wellington
2d2d94e01d spacing 2000-10-13 23:28:00 +00:00
Bob Halley
6af9bd789e Add regressions which test for the bugs fixed in changes 516, 517, and 518 2000-10-13 18:51:59 +00:00
Brian Wellington
cb5d33b87a the lwresd -p and -P flags had their meanings reversed. 2000-10-05 22:30:57 +00:00
Brian Wellington
2264a174f3 test the new lwres functionality (different addresses, lwresd.conf, etc.) 2000-10-05 22:29:34 +00:00
Brian Wellington
caa1ba7ea9 lwresd.run files should be deleted by cleanall.sh 2000-09-27 20:33:39 +00:00
Olafur Gudmundsson
2ecf7f63a0 Updated README to reflect tested versions off FreeBSD
Updated ifconfig.sh to allow testing on a 10/8 network on Solaris-7 and
	Freebsd-[34] without broadcast conficts.
No user visable changes.
2000-09-27 14:52:22 +00:00
Andreas Gustafsson
ac8f49314c simplified; added /24 netmasks for more systems 2000-09-26 16:30:53 +00:00
Brian Wellington
81e3973b78 spelling 2000-09-22 23:17:57 +00:00
Brian Wellington
cde42c9189 when bring up interfaces on Linux, set the netmask. This should probably
be done for all of the other OSes also.
2000-09-22 23:15:55 +00:00
Andreas Gustafsson
8dda471a92 test should not exit with zero exit status if nsupdate dumps core 2000-09-20 00:42:24 +00:00
Andreas Gustafsson
dd97704766 updated with new tests 2000-09-19 00:40:14 +00:00
Andreas Gustafsson
531dd7b648 support 'named -l' as a synonym for 'lwresd', so that the system
tests will work despite libtool losing argv[0]
2000-09-16 01:42:06 +00:00
Mark Andrews
f2b38670c4 add example.bk 2000-09-13 07:44:52 +00:00
Mark Andrews
8241166a95 Add clean.sh
send nsupdate output to /dev/null
2000-09-13 07:41:12 +00:00
Mark Andrews
24f0ca71ee add upforwd 2000-09-13 01:36:44 +00:00
Mark Andrews
f267ee3e4f Add upforwd files.
Addition cleaning up from previous runs.
2000-09-13 01:24:05 +00:00
Mark Andrews
a05a8baeb1 add reference file 2000-09-13 01:22:25 +00:00
Mark Andrews
842e0d16b8 checkpoint 2000-09-08 06:27:35 +00:00
Mark Andrews
ee94aedb41 Initial update forwarding test suite. 2000-09-08 05:48:06 +00:00
Mark Andrews
dfed970f63 Initial update forwarding test suite. 2000-09-08 05:40:44 +00:00
Andreas Gustafsson
321a6df4ff removed redundant "directory ." option 2000-09-01 19:36:05 +00:00
Andreas Gustafsson
c5926943a7 don't try to cd into nsupdate.core (sic) 2000-08-31 23:51:54 +00:00
Brian Wellington
2310b7964d test getipnodebyname/getipnodebyaddr/freehostent 2000-08-30 23:35:34 +00:00
Andreas Gustafsson
0d1dc10cc8 added brief copyright message 2000-08-30 19:18:12 +00:00
Andreas Gustafsson
d0c7293bc8 added copyright message 2000-08-30 19:13:30 +00:00
Brian Wellington
367ac5bfc5 The named.run files were not being ignored. 2000-08-28 21:23:32 +00:00
Brian Wellington
dcc6bde0a3 Added a system test for selective forwarding. 2000-08-24 22:23:46 +00:00
Brian Wellington
21f710a09f Changes to the rdata text format in a few cases (removal of parens) to
match the dig output.
2000-08-24 22:01:12 +00:00
Mark Andrews
8249eee42a notify-any to allow-notify conversion.
notify-relay to notify-forward conversion.
2000-08-22 05:14:59 +00:00
Mark Andrews
10a6b854f5 initial gdib notify relay tests 2000-08-17 09:18:03 +00:00
Brian Wellington
efd2baaa2b Remove the random.data file created by genrandom. 2000-08-11 18:45:30 +00:00
David Lawrence
816e576f77 new URL for the copyright notice 2000-08-09 04:37:43 +00:00
Brian Wellington
a7290af88f Added a small program to generate "random" data. It's not really random,
but it's only for tests.  This allows the large files containing random
data to be removed from the tree.
2000-08-08 21:47:55 +00:00
Andreas Gustafsson
70bdf57594 allow up/down as synonyms for start/stop 2000-08-08 19:57:31 +00:00
David Lawrence
40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
Brian Wellington
529a6b5224 358. [cleanup] Rename the intermediate files used by the dnssec
programs.
2000-07-31 15:28:21 +00:00
Michael Sawyer
7d1b7c45a3 Allow RNCD connects from any address 2000-07-29 00:26:22 +00:00
Andreas Gustafsson
e0f23ee828 check that the server copes with responses containing a CNAME
and other data
2000-07-28 22:42:42 +00:00
David Lawrence
74b4a3512f gethostbyaddr takes signed char pointer, not unsigned, as its first argument.
wrap lines at column 79.
2000-07-28 03:31:25 +00:00
Andreas Gustafsson
3342c783e3 make distclean should remove conf.sh 2000-07-28 01:37:05 +00:00
Brian Wellington
dbbf071676 ignore and clean up the dig.out.ns1.after file 2000-07-28 00:38:08 +00:00
Brian Wellington
60eb559222 - print the number of each test
- add a missing simple negative response test
- check the status of the ad bit on responses
- test queries with the cd bit set
- remove duplicated arguments to dig
2000-07-27 23:22:35 +00:00
David Lawrence
15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
David Lawrence
6ab8e7ff5f remove named.run files with make clean/distclean 2000-07-27 03:35:48 +00:00
Michael Sawyer
222ad9086c Typo 2000-07-26 17:56:37 +00:00
Andreas Gustafsson
a0b608fd1a not all messages were prefixed with I: 2000-07-26 01:19:43 +00:00
Michael Sawyer
0759eb6a0d Olafer's patch to give the server time to start 2000-07-25 17:48:51 +00:00
Michael Sawyer
dc9c461b27 Test that the jnl file is properly recovered after a hard kill of the server 2000-07-25 00:44:18 +00:00
Michael Sawyer
6b9c29ec57 Additional test in nsupdate test 2000-07-24 23:54:59 +00:00
Michael Sawyer
c5272fb330 Merge update_test.pl into system test scripts 2000-07-24 22:53:40 +00:00
Andreas Gustafsson
a7c6c06fad removed 5-second sleep and unnecessary semicolon 2000-07-24 22:05:16 +00:00
Michael Sawyer
390132bd98 Run resolver test in make tests 2000-07-20 19:38:05 +00:00
Andreas Gustafsson
8b2d2acbff in the multi-stage positive validation test, allow the
recursive server to omit the authority section
2000-07-19 19:54:50 +00:00
Andreas Gustafsson
e54e6744d6 do two queries; added comments 2000-07-18 17:13:40 +00:00
Andreas Gustafsson
92103a4e2c typo 2000-07-15 01:11:37 +00:00
Andreas Gustafsson
5fff4f8a54 typo 2000-07-15 00:37:23 +00:00
Andreas Gustafsson
f427699c6a fixed prerequisite test 2000-07-15 00:22:08 +00:00
Andreas Gustafsson
f2c814353b added resolver/ test directory, with a single regression
test for the INSIST(!external) bug
2000-07-14 23:38:14 +00:00
Andreas Gustafsson
1a92f5c182 removed dead code 2000-07-14 23:16:45 +00:00
Brian Wellington
9df4200a67 Check the return value of kill. This means that the test can now detect
the case when a program no longer exists (due to a crash) or when a
program responds badly to a SIGTERM and doesn't clean up the pid file.
2000-07-12 17:59:08 +00:00
David Lawrence
2831bea28e make rndc output appear as I: lines 2000-07-12 16:43:03 +00:00
Michael Sawyer
931e154a1e Change ticks to 360, not zones... 2000-07-12 00:46:50 +00:00
Michael Sawyer
b95b59db26 Increase max wait time for transfer to Retry time + 1 minute, since some
OS's appear to drop UDP packets and not get the initial SOA reply.
2000-07-11 23:42:56 +00:00
Brian Wellington
7f2ac7414c Test that a query for a security root succeeds. 2000-07-11 00:36:44 +00:00
Brian Wellington
e09caeceef print the test info before executing the test 2000-07-10 23:46:50 +00:00
Brian Wellington
60f0c97c90 fix broken shell code 2000-07-10 23:05:51 +00:00
Michael Sawyer
796b1656b6 pulldown:
If the testsock.pl test fails, try 5 times (2 seconds between tries) in case
a server took some time to fully free the port.  (Appears to be an occasional
problem on Solaris)
2000-07-10 22:49:46 +00:00
Brian Wellington
b872e86042 Describe all the tests that are run and indicate which ones fail. 2000-07-10 21:40:16 +00:00
Andreas Gustafsson
0282c5fd48 export RNDC 2000-07-10 17:01:15 +00:00
David Lawrence
27c1fa93a0 use rndc instead of kill to reload the servers ... with the added benefit
that now the body of this test should pass on BSD/OS
2000-07-10 11:39:51 +00:00
David Lawrence
2c6d0da369 set $RNDC 2000-07-10 11:38:48 +00:00
David Lawrence
74c2797077 added I: lines to describe the test's progress 2000-07-09 16:33:09 +00:00
David Lawrence
fdebae8397 nsupdate now finishes by sending a final newline, so don't echo another one 2000-07-09 16:27:30 +00:00
David Lawrence
e60f5a146d remove the correct dig.out and stub zone files generated by the test 2000-07-09 16:18:39 +00:00
David Lawrence
904579f844 ignore named.run 2000-07-09 16:11:12 +00:00
David Lawrence
2925f690b3 if a server has to be kill -KILLed, remove its pidfile after the signal is sent 2000-07-09 15:55:01 +00:00
David Lawrence
37d5999904 "make test" depends on subdirs getting all compiled 2000-07-09 15:54:21 +00:00
David Lawrence
5709b77c8c return non-zero if the rcodes differ 2000-07-08 16:37:43 +00:00
David Lawrence
c634c94d67 added "I:" info lines for each stage of the test 2000-07-08 16:37:18 +00:00
David Lawrence
45f0cd2b4b use full dig output; let digcomp sort it all out. in particular, digcomp
really wants to get the server status.

also added "I:" info lines for each stage of the test
2000-07-08 16:36:29 +00:00
David Lawrence
2dc34dc3de removed a.root-servers.nil A record as out of zone for .mil 2000-07-08 16:29:47 +00:00
David Lawrence
b575462ccb test that out-of-zone glue records are not returned 2000-07-08 16:29:05 +00:00
David Lawrence
d319a11e58 use full dig output so digcomp can get the server status response 2000-07-08 16:27:24 +00:00
Brian Wellington
66b84e8952 - test insecurity proofs
- use digcomp.pl's ability to check rcode
- generate less unneeded output
- use separate output files for each test, so that output isn't deleted
2000-07-08 00:39:17 +00:00
Andreas Gustafsson
722cac3cdc worked around NetBSD /bin/sh bug, making the
script shorter in the process
2000-07-07 23:18:51 +00:00
Andreas Gustafsson
8d19e0443d worked around NetBSD /bin/sh bug, making the
script shorter in the process
2000-07-07 22:45:22 +00:00
Andreas Gustafsson
ed0a75d4a4 indentation and other style fixes;
reindented (emacs users please (setq perl-indent 8))
2000-07-07 22:43:45 +00:00
Andreas Gustafsson
eebcaeb6a0 added CNAME RR for RT #153 regression test 2000-07-07 22:33:20 +00:00
Brian Wellington
6ad837a1ad The rcode comparison check didn't work. It does now. 2000-07-07 22:13:21 +00:00
Brian Wellington
1cc90f4ab4 Check that the rcodes in the 2 messages are the same 2000-07-07 21:43:49 +00:00
Brian Wellington
1e8c2e72e7 remove extra spaces in I: lines 2000-07-07 18:25:20 +00:00
Brian Wellington
6c3bd0545a If the test timed out, R:FAIL was being printed twice, and the error
message was missing the I: prefix.
2000-07-07 07:15:04 +00:00
Brian Wellington
20e597d71c remove spaces from I: statements 2000-07-07 00:41:18 +00:00
Brian Wellington
d52cd4a9fa Properly fill in sa_family and sa_len (if present). Also fix a bug in
test_noop (you'd really think a noop test would be bug free).
2000-07-06 22:28:44 +00:00
Michael Sawyer
fec9cc90e6 Corrected cleanup 2000-07-06 19:54:02 +00:00
Michael Sawyer
03967f5ba6 Remove unneeded file 2000-07-06 19:46:20 +00:00
Michael Sawyer
f7b7a2448c use runall.sh and cleanall.sh 2000-07-06 19:40:57 +00:00
Michael Sawyer
2c65255baa Missing quotes 2000-07-06 19:37:47 +00:00
Michael Sawyer
ea1fabfe76 SUBDIRS entry corrected and brought up to date 2000-07-06 19:34:27 +00:00
Andreas Gustafsson
2c9fdfdfbe added script for running all system tests in sequence 2000-07-06 19:32:37 +00:00
Andreas Gustafsson
457a63f3b8 missing colon in glue_test rule 2000-07-06 04:36:55 +00:00
Andreas Gustafsson
770dd208fa work around NetBSD /bin/sh bug, with the side effect of making the
test script shorter
2000-07-06 02:33:42 +00:00
Michael Sawyer
313b7db2ce Add NSUPDATE to conf.sh.in, not conf.sh... 2000-07-06 02:10:46 +00:00
Andreas Gustafsson
249763bcbf added glue test 2000-07-06 02:06:02 +00:00
Andreas Gustafsson
afb2c39d2d added glue test 2000-07-06 01:28:08 +00:00
Andreas Gustafsson
8993565982 if the file nsN/namedopts exists, use it to set named
command line options
2000-07-06 01:26:05 +00:00
Michael Sawyer
c3c6770e53 Add nsupdate/ixfr test suite 2000-07-06 00:54:03 +00:00
Brian Wellington
5ddea03e3e Log a message in addition to setting a failure code when kill -TERM doesn't
kill a server.
2000-07-05 23:28:07 +00:00
Andreas Gustafsson
66465da5d1 work around NetBSD /bin/sh bug, with the side effect of making the
test script shorter
2000-07-05 22:13:56 +00:00
Brian Wellington
58208669bc Should sleep for a while between kill -TERM and kill -KILL 2000-07-05 20:56:11 +00:00
Andreas Gustafsson
aade2614cb work around NetBSD /bin/sh bug, with the side effect of making the
test script shorter
2000-07-05 19:42:34 +00:00
Brian Wellington
5618f70327 Modify the tests so that if any server doesn't die with a TERM signal,
it's an error.
2000-07-05 18:49:06 +00:00
Brian Wellington
bb915db969 Check to see that kill actually kills the server. If not, it's an error,
so print a message, increment status, and kill -9 the server.
2000-07-05 18:16:39 +00:00
Mark Andrews
323b6387ce 293. [port] Add support for freebsd 4.0 system tests. 2000-06-29 15:28:23 +00:00
Brian Wellington
316e03c2df Makefile was broken for out-of-tree builds 2000-06-28 23:19:02 +00:00
Brian Wellington
3f358cfc9f Try to avoid signedness warnings. 2000-06-28 22:41:46 +00:00
Brian Wellington
91f77f8a8d Test getaddrinfo() and getnameinfo(). 2000-06-28 21:56:51 +00:00
Brian Wellington
57bae12486 Remove multiple A records, since it makes testing far more complicated. 2000-06-28 21:56:13 +00:00
Andreas Gustafsson
e0a18a86d9 CVS ID 2000-06-28 19:01:52 +00:00
Brian Wellington
eb3bd171e0 test gethostbyname, gethostbyname2, and gethostbyaddr 2000-06-28 00:34:35 +00:00
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
Michael Sawyer
1dce9a099e Double allowable time for servers to start up. 2000-06-26 20:56:33 +00:00
Michael Graff
a3cf4d394a 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
Brian Wellington
2d9f7b2971 Having a close(SOCK) seems to help mirepoix for some reason. 2000-06-26 17:53:25 +00:00
Andreas Gustafsson
787ad47ae4 increased timeout when waiting for server response; limits test did
not start in 44 seconds on irix
2000-06-26 01:12:35 +00:00
Andreas Gustafsson
5ff3d89153 don't create or delete /var/run/system_test_ifsetup;
it's not needed any more, and it causes error messages on irix which
does not have /var/run
2000-06-25 16:52:31 +00:00
Andreas Gustafsson
54aa59731f check that server sockets can be bound to before attempting
to start servers; fixed bug that caused us not to perform version.bind queries
to subsequent servers if the first one succeeded
2000-06-25 16:47:42 +00:00
Andreas Gustafsson
0e3fa3bf10 more detailed error reporting 2000-06-25 02:30:18 +00:00
Andreas Gustafsson
c2398b11d7 added -p option for setting port number 2000-06-25 01:40:05 +00:00
Andreas Gustafsson
45340ebd2d don't call gethostbyname() with dotted quad argument;
don't hardcode PF_INET and SOCK_STREAM; improve error reporting;
indent by 8 spaces
2000-06-24 23:09:44 +00:00
Michael Sawyer
258b178806 It's probably not a good idea to check in the test script with a debugging
patch intended to make it fail, regardless of the test status.
2000-06-24 01:44:28 +00:00
Michael Sawyer
0a7c55d181 Add distclean target, different from clean target, which removes .run files 2000-06-23 21:28:17 +00:00
Mark Andrews
24a1638a72 add 5000.example verification test 2000-06-23 21:19:21 +00:00
Michael Sawyer
4d5ef1c0cf Loop over server start test 2000-06-23 21:17:02 +00:00
Mark Andrews
1a43bb06d2 Add limits tests. 2000-06-23 17:10:09 +00:00
Mark Andrews
2a3d8a972f add 2000-06-23 17:05:47 +00:00
Mark Andrews
35f36a82bf add knowngood's 2000-06-23 17:05:11 +00:00
Mark Andrews
d7c6323874 Add various knowngood file 2000-06-23 16:56:42 +00:00
Mark Andrews
0acda4fb5b added a-maximun-rrset.example 2000-06-23 16:55:11 +00:00
David Lawrence
1a225a9907 prototype test_noop() and main() 2000-06-22 23:11:09 +00:00
Brian Wellington
8561261d96 Ignoring the wrong file doesn't work too well 2000-06-22 23:04:30 +00:00
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
David Lawrence
e44e0ff385 update_copyrights 2000-06-22 17:36:01 +00:00
Brian Wellington
52cff07fe2 strlen wants a char *, not an unsigned char * 2000-06-22 01:36:34 +00:00
Brian Wellington
5b411b0150 Add a couple .cvsignores 2000-06-22 01:29:54 +00:00
Brian Wellington
58fe6a5b1b Add .cvsignore 2000-06-22 01:27:46 +00:00
David Lawrence
d0be1e954b update_copyrights 2000-06-22 01:01:45 +00:00
Mark Andrews
c04f6cf67d Add nameserver limit checks. 2000-06-22 00:07:41 +00:00
Andreas Gustafsson
8eb2d955e1 added a test 2000-06-21 23:06:20 +00:00
Michael Sawyer
692982647c Increase delay in VIEWS update test 2000-06-21 22:48:46 +00:00
Michael Sawyer
ac4f76549c Increase delay in test yet again 2000-06-21 22:42:16 +00:00
Michael Sawyer
eb811c2f41 Increase delay after signal in notify test to give BSD3.1 time to update
slave
2000-06-21 22:08:10 +00:00
Brian Wellington
805503c7ad Check the addresses returned from gabn calls 2000-06-21 21:30:13 +00:00
Brian Wellington
243ac4ecc1 bitstring label test, better reverse name lookup names 2000-06-21 20:51:07 +00:00
Mark Andrews
f955efd73c add stub tests 2000-06-21 20:48:27 +00:00
Mark Andrews
33ccf0b258 remove '.st' (stub) backup file 2000-06-21 20:47:02 +00:00
Andreas Gustafsson
06bc083413 added README file explaining the roles of the various
dnssec test servers
2000-06-21 18:16:12 +00:00
Andreas Gustafsson
96e87186ba eliminated char/unsigned char warning on solaris 2000-06-21 17:32:26 +00:00
Brian Wellington
cd4cbed56c pull in libisc, since it's needed for inet_pton on some platforms. 2000-06-21 17:29:32 +00:00
Brian Wellington
1fb5269e67 check for existence of lwres directory 2000-06-21 01:42:16 +00:00
Brian Wellington
22af5514ef missing make all 2000-06-21 01:40:15 +00:00
Michael Sawyer
5a5c480994 .cvsignore files 2000-06-21 01:31:54 +00:00
Brian Wellington
cc1eee4f51 Add lwresd test 2000-06-21 01:28:44 +00:00
Brian Wellington
659bdaf3eb Start and stop lwresd if the test uses them 2000-06-21 01:25:02 +00:00
Brian Wellington
c8d268ec51 Check for clean.sh before running it 2000-06-21 01:24:19 +00:00
Brian Wellington
a37d1aa631 Set and export LWRESD variable 2000-06-21 01:23:36 +00:00
Brian Wellington
442d0f584f Build lwresd directory 2000-06-21 01:23:02 +00:00
Mark Andrews
c21646dcc2 grep ... > /dev/null 2000-06-21 01:18:20 +00:00
Mark Andrews
e7ddc97b45 Add stub test 2000-06-21 01:16:06 +00:00
Michael Sawyer
af8d5ca7c0 Use a program to test for socket availability instead of touched file. 2000-06-21 00:50:37 +00:00
David Lawrence
eb591bfe60 remove conf.sh when make distclean 2000-06-20 23:57:45 +00:00
Andreas Gustafsson
3428814217 be silent in the success case 2000-06-19 19:29:46 +00:00
David Lawrence
4c27b316ff ignore conf.sh 2000-06-19 19:15:25 +00:00
Michael Sawyer
978d58182e Typo 2000-06-19 19:06:47 +00:00
Andreas Gustafsson
29f6dfa76c work around NetBSD shell bug bin/10379 2000-06-16 22:39:45 +00:00
Andreas Gustafsson
7beeb415ca minor editing 2000-06-16 19:51:34 +00:00
Michael Sawyer
0a673a3448 Add a delay after changing the views named.conf before sending the SIGHUP 2000-06-15 21:14:04 +00:00
Michael Sawyer
c4b2436565 Don't remove named.run files, to aid in debugging 2000-06-14 22:38:33 +00:00
Michael Sawyer
e2cb9ff071 Clean up "dead" named processes if the initial version.bind dig fails. 2000-06-14 20:55:52 +00:00
Michael Sawyer
3f7ab1762a Sleep a little longer after killing servers to give them a chance to fully
shutdown, in hopes of clearing up the test failure in Solaris.
2000-06-14 15:51:38 +00:00
Michael Sawyer
8f6e9f760b Give the servers a moment to start up before asking them for version.bind 2000-06-14 02:50:24 +00:00
Brian Wellington
ccd492e4ee Added transfer-source lines 2000-06-14 00:46:03 +00:00
Michael Sawyer
895c909651 typo 2000-06-13 23:44:05 +00:00
Michael Sawyer
03e8cb3f19 More attempts at getting the code lines on the test output right 2000-06-13 23:41:41 +00:00
Brian Wellington
126c8d0c08 Add listen-on-v6 {none;}; , since without it, v6 was binding v4 mapped
sockets and causing failures on some platforms
2000-06-13 22:45:20 +00:00
Michael Sawyer
ee6fe1d197 Remove port option from query-sources 2000-06-13 21:49:56 +00:00
Michael Sawyer
4e42045d2b Don't reset status halfway through the test 2000-06-13 21:36:27 +00:00
Michael Sawyer
ce745b87f2 Formatting change of output data so it will work with WPK's b9status.pl
script
2000-06-13 21:17:00 +00:00
Andreas Gustafsson
1e43538d55 don't forget to export the PERL and SUBDIRS variables 2000-06-13 20:03:43 +00:00
Michael Sawyer
5cca51c7c1 Use PERL env variable for execution of perl. 2000-06-13 19:41:59 +00:00
Andreas Gustafsson
3ecf3394e3 search for Perl at configure time, for use by the system
test scripts
2000-06-13 17:34:28 +00:00
Andreas Gustafsson
195c06df3e do not assume that an attempt to run a nonexistent shell command
returns an exit status of exactly 1
2000-06-13 17:13:20 +00:00
Andreas Gustafsson
76ce9fbe97 ns3 tried to use the same query-source address as ns1,
causing the notify test to fail on all(?) platforms
2000-06-13 16:46:19 +00:00
Andreas Gustafsson
87b3cb4ede support HP-UX 11 2000-06-13 01:18:10 +00:00
Andreas Gustafsson
413ce88331 support solaris2.8: 'plumb' virtual interfaces before
configuring them up; don't use whoami as it does not exist on solaris2.8
2000-06-13 01:02:31 +00:00
Michael Sawyer
52ea71106b Remove duplicate query-source 2000-06-13 01:02:02 +00:00
Michael Sawyer
483ecd44ab named 2000-06-13 00:57:49 +00:00
Michael Sawyer
5458e9245c Add query-source everywhere
Fix out output
2000-06-13 00:54:53 +00:00
Michael Sawyer
43a3b93022 Add sleep to xfr test
First try and use perl5, then perl, in setup.sh for xferquota.
2000-06-12 23:55:19 +00:00
Andreas Gustafsson
e1310f0e96 nonportable shell construct 2000-06-12 23:48:28 +00:00
Michael Sawyer
9a90646795 Add e: line to run. 2000-06-12 23:08:55 +00:00
Michael Sawyer
dec3e76636 Add (unused) NS1 server configuration, since directory didn't seem to want to go away in CVS. 2000-06-12 23:06:49 +00:00
Brian Wellington
8f239354a0 Added missing zone files 2000-06-12 22:55:52 +00:00
Andreas Gustafsson
0431c9d4d1 support AIX 2000-06-12 22:45:43 +00:00
Andreas Gustafsson
2525055c90 support Irix; don't touch/remove /var/run/system_test_ifsetup multiple times 2000-06-12 22:37:36 +00:00
Michael Sawyer
85db942a01 Missing file 2000-06-12 20:59:33 +00:00
Michael Sawyer
e6e0dadd30 Match output format to what scripts expect 2000-06-12 20:32:47 +00:00
Andreas Gustafsson
8a99c43727 no need to look for version.bind. on port 53 now that all tests
run at 5300
2000-06-12 20:20:02 +00:00
Andreas Gustafsson
a6ec6daa1a do not try to run the tests if the servers didn't start 2000-06-12 20:19:29 +00:00
Michael Sawyer
e7eba81696 Add missing zone file 2000-06-12 19:59:35 +00:00
Michael Sawyer
03b5b5591c Change interface not set up return value to 1, getting rid of
"inspect" results of test (hopefully)
2000-06-12 17:41:06 +00:00
Brian Wellington
5006de6531 - Added query-source to each server.
- Added an insecure child of a secure parent (insecure.secure.example)
- Added a privately secure child of a secure parent (private.secure.example)
2000-06-10 01:45:32 +00:00
Andreas Gustafsson
7257176e6f added --keep option for leaving test servers running 2000-06-09 23:16:56 +00:00
Michael Sawyer
2003deb5d1 Properly fail to work on systems which don't have the interface set up. 2000-06-09 22:23:42 +00:00
Andreas Gustafsson
2648954b6c fixed incorrect copyright years 2000-06-09 21:08:42 +00:00
Andreas Gustafsson
b9f92431d3 added blank line between copyright message and non-copyright comments 2000-06-09 21:03:53 +00:00
Andreas Gustafsson
07688d1883 removed the letters 'more' which had inexplicably appeared
as the first four characters of the file
2000-06-09 21:03:05 +00:00
Michael Sawyer
0d50da49ba Update README to show no longer need to run as root. 2000-06-09 19:51:10 +00:00
Michael Graff
bc48281e2f add distclean, too 2000-06-09 16:10:57 +00:00
Michael Sawyer
7e2a4f6ad6 Minor Makefile changes 2000-06-09 00:44:12 +00:00
Brian Wellington
dbf0c4c5fb check for empty argument list 2000-06-09 00:37:56 +00:00
Michael Sawyer
d8ecccc889 Add targets 2000-06-09 00:09:11 +00:00
Michael Sawyer
1d4080cebf Solaris 8's lo0 alias appears to be broken. 2000-06-08 22:56:53 +00:00
Michael Sawyer
10bc8ffed6 Make system test run as non-root (provided interface is set up) and add
to standard test script.
2000-06-08 22:41:37 +00:00
Brian Wellington
24a4a1954a check for empty arg list 2000-06-08 21:45:43 +00:00
Andreas Gustafsson
e9918d6a9d some tests now run 5 name servers 2000-06-08 18:18:23 +00:00
Andreas Gustafsson
40689ca042 cut-and-paste-o in comment 2000-06-08 18:16:56 +00:00
Brian Wellington
8463f40039 Add ns5, a configuration with a bad trusted key. 2000-06-08 02:01:07 +00:00
Brian Wellington
12a4b33723 Put the bad trusted key in place on ns5 2000-06-08 01:58:04 +00:00
Brian Wellington
f3a7310c12 print the correct script name in error message 2000-06-08 01:57:41 +00:00
Brian Wellington
35a680bf40 5 hosts 2000-06-08 01:43:40 +00:00
Brian Wellington
0cb394091d The root keyset file (.keyset) wasn't being deleted, since it wasn't matched
by the wildcard.
2000-06-07 01:43:33 +00:00
Brian Wellington
4e028a06a7 print a message if neither start nor stop is specified 2000-06-07 00:22:30 +00:00
Andreas Gustafsson
ca793cbfcf run test DNS on port 5300 2000-06-06 23:41:55 +00:00
Andreas Gustafsson
1c4ecfd97e look for server on port 5300, too 2000-06-06 23:40:25 +00:00
Andreas Gustafsson
813d6c9781 make conf.sh usable from subdirectory test scripts;
use conf.sh from subdirectory test scripts
2000-06-05 19:36:44 +00:00
Andreas Gustafsson
bffe4c151c no need to verify that servers are up as start.sh now
takes care of that; no need to remove dig output before test
2000-06-05 19:07:46 +00:00
Andreas Gustafsson
e2774cae38 no need to remove dig.out.* before test 2000-06-02 20:54:30 +00:00
Andreas Gustafsson
1de8cd761e verify that servers started successfully, so that the
individual tests don't need to
2000-06-02 20:44:21 +00:00
Andreas Gustafsson
487791cd9c exit with nonzero exit status if ifconfig.sh fails 2000-06-02 18:51:35 +00:00
Michael Sawyer
81a253a185 One more missing file. 2000-06-01 23:45:24 +00:00
Michael Sawyer
f4f73ec517 Add missing files 2000-06-01 23:42:19 +00:00
Andreas Gustafsson
9e411a82b2 terminology: 'zone transfers', not 'domain name transfers';
'zones', not 'domains'
2000-06-01 23:36:59 +00:00
Andreas Gustafsson
b54bfc7cb8 terminology: 'zone transfers', not 'domain name transfers' 2000-06-01 23:26:20 +00:00
Andreas Gustafsson
bf1a55e97b specify the correct master name in the SOA MNAME field;
this should help eliminate unnecessary sending of notifies to the master
2000-06-01 23:24:52 +00:00
Michael Sawyer
ba80bec980 Add query-source 2000-06-01 18:07:48 +00:00
Michael Sawyer
a2b565626b Add additional test to determine if NOTIFY messages are properly handled
during zone transfers.
2000-06-01 17:56:40 +00:00
David Lawrence
0af3cb7703 ignore Makefile 2000-05-24 21:46:46 +00:00
Andreas Gustafsson
9d7c5c2c31 reduced number of test zones to 100 2000-05-23 04:48:04 +00:00
Michael Sawyer
df22852dcd Fix problem in notify test 2000-05-23 02:13:39 +00:00
Michael Sawyer
d81a745bbb Longer sleep needed for reliable fix to SIGHUP problem 2000-05-23 00:02:45 +00:00
Michael Sawyer
0334d82cad Workaround for SIGHUP-without-delay bug 2000-05-22 23:56:49 +00:00
Michael Sawyer
02bc88821c tests.sh 2000-05-22 22:19:07 +00:00
Andreas Gustafsson
a185ac41ac updated 2000-05-22 21:29:21 +00:00
Andreas Gustafsson
87796a03ed added shell variable DIG containing the pathname of dig 2000-05-22 17:31:45 +00:00
Andreas Gustafsson
c512030111 style; improved error handling; set SOA timers to
lower values so that retries and refreshes can be observed
2000-05-22 16:35:36 +00:00
Andreas Gustafsson
9b50fc6648 style nits 2000-05-22 16:34:32 +00:00
Andreas Gustafsson
7fa1c9722b set a query source so that notify packets get sent with
the correct source address and are accepted by the slave as coming
from a master
2000-05-22 16:34:06 +00:00
Andreas Gustafsson
5b83a15556 new test data was written to the wrong file (a.example.db
instead of example.db); removed spurious semicolon from 'status=0' assignment
2000-05-22 16:32:20 +00:00
Michael Sawyer
3d02ab0d2d osf doesn't get path right. 2000-05-20 01:01:28 +00:00
Michael Sawyer
208c4f45c8 clean up test output 2000-05-19 23:55:37 +00:00
Michael Sawyer
d349843282 Add copyright entries 2000-05-19 22:45:47 +00:00
Michael Sawyer
344556c188 Add makefile.in in test suits 2000-05-19 21:55:31 +00:00
Michael Sawyer
5a3e08cbb2 Add views test 2000-05-19 21:23:23 +00:00
Michael Sawyer
fa0d3114ae Typo 2000-05-19 20:46:24 +00:00
Michael Sawyer
bd334e0366 Add notify test suite 2000-05-19 18:01:27 +00:00
Michael Sawyer
a92428ecb8 Sweeping changes to system test suite 2000-05-18 22:49:29 +00:00
Andreas Gustafsson
95be83b467 DNSSEC tools now have a new home 2000-05-18 21:45:10 +00:00
Michael Sawyer
78ad076390 Fix typo in ifconfig script and add dnssec clean script 2000-05-17 23:15:32 +00:00
Michael Sawyer
02fdafbf53 Add missing files 2000-05-17 22:38:50 +00:00
Michael Sawyer
d98372394f Addition of test suite. 2000-05-17 22:10:42 +00:00
Andreas Gustafsson
5d545650bf KEYSIGNER variable was not set 2000-05-17 02:22:23 +00:00
Andreas Gustafsson
225edfe716 replaced nonportable case statement fallthrough syntax;
match all NetBSD versions and architectures
2000-05-17 00:52:08 +00:00
Michael Sawyer
5474061e76 Portibility additions to ifconfig.h
Addition of reply tests
2000-05-16 22:38:06 +00:00
Andreas Gustafsson
b04adaa782 simplified 2000-05-16 01:24:50 +00:00
Andreas Gustafsson
02b4e9aef2 be compatible with new dnssec tool command line argument
usage; bug fixes
2000-05-16 01:22:45 +00:00
Andreas Gustafsson
98225f5d5e added files missing from system test checkin 2000-05-16 01:20:39 +00:00
Andreas Gustafsson
c13b8351b4 typo 2000-05-15 23:09:42 +00:00
Andreas Gustafsson
0e9dcd5480 added system tests 2000-05-15 22:53:15 +00:00