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
cvs2git
92e662f530
This commit was manufactured by cvs2git to create branch 'v9_3'.
2001-08-30 04:33:22 +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
76c8294c81
format string bugs and improved format string checking [RT #1578 ]
2001-08-08 22:54:55 +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
Brian Wellington
a781910430
#define PATH_MAX if it's not already defined (such as on HURD) [RT #1543 ]
2001-07-26 22:09:25 +00:00
Andreas Gustafsson
113b83a9e2
always build cfg_test, since it is now needed when
...
regenerating the documentation
2001-07-26 21:33:28 +00:00
Andreas Gustafsson
accf0d5f29
updated usage message
2001-07-23 18:57:53 +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
17f04ff2e7
don't test dst if configured without openssl
2001-07-11 21:46:32 +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
7c66a4555d
spacing
2001-07-09 22:39:27 +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
97e1692460
New function cfg_print_grammar(), which generates a human-readable
...
summary of the grammar for a given configuration type from its syntax
tables. Running bin/tests/cfg_test --grammar --named will print a
named.conf grammar summary, and bin/tests/cfg_test --grammar --rndc
will print the rndc.conf grammar summary.
2001-06-29 18:36:13 +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
Andreas Gustafsson
c380c1a78a
test 'severity debug;'
2001-06-08 19:06:22 +00:00
David Lawrence
d716e83021
initialize "type" to quiet compiler warning
2001-05-31 11:00:40 +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
508d17362c
834. [func] Accept (but warn about) master files beginning with
...
an SOA record without an explicit TTL field and
lacking a $TTL directive, by using the SOA MINTTL
as a default TTL. This is for backwards compatibility
with old versions of BIND 8, which accepted such
files without warning although they are illegal
according to RFC1035.
2001-05-22 01:44:37 +00:00
Bob Halley
c209cc1ebd
update test to check for new behavior of ANY queries at zone cut points
2001-05-15 05:32:53 +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
Brian Wellington
08116c0bbd
-t now works
2001-05-09 18:59:55 +00:00
Brian Wellington
fdd2f4e5d0
Add an option to ignore the first 2 bytes (for TCP messages)
2001-05-09 18:56:29 +00:00
Brian Wellington
110c0fae7f
add some commandline flags.
2001-05-09 18:51:44 +00:00
Brian Wellington
08a0525d92
Use a 64K buffer, not a 4K buffer.
2001-05-09 18:47:49 +00:00
Brian Wellington
1448a52296
the output buffer should be 64K, not 4000 bytes.
2001-05-09 00:16:48 +00:00
Andreas Gustafsson
c62314bc9c
removed sample configuration access code, now that we have
...
real configuration access code in bin/named/server.c and bin/named/*conf.c
2001-05-02 17:43:42 +00:00
Andreas Gustafsson
e23d2b98b7
don't include the now nonexistent <dns/namedconf.h>
2001-05-02 17:41:24 +00:00
Andreas Gustafsson
38db299051
make rwlock_test compile without threads
2001-05-02 17:35:52 +00:00
Andreas Gustafsson
54b4a8d345
reduced busy loop iteration count to avoid the test timing out on hp1020a
2001-04-25 01:23:13 +00:00
Andreas Gustafsson
4c110ccec1
t12() requires threads
2001-04-24 22:57:36 +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
David Lawrence
95799c090c
a cleaner approach to the whole issue of shutting up warnings for threaded
...
vs non-threaded builds. both compile without any warnings now.
2001-04-13 02:19:37 +00:00
David Lawrence
afe871339a
move stack variable declaration within the ISC_PLATFORM_USETHREADS conditional
...
blocks.
2001-04-12 22:56:02 +00:00
David Lawrence
4f30524203
clean up numerous "statement not reached" errors on a few platforms
2001-04-12 21:31:38 +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
0e528248ab
missed removing this file in the key id fix.
2001-04-10 21:35:35 +00:00
Brian Wellington
daad43e5a4
802. [bug] DNSSEC key tags were computed incorrectly in almost
...
all cases. [RT #1146 ]
2001-04-04 02:02:58 +00:00
Brian Wellington
08a0b6d8a0
tabify
2001-03-28 02:43:44 +00:00
Brian Wellington
668f8d91db
795. [func] Add the +multiline option to dig.
...
(which requires dns_message_totext(), etc. to take a style parameter)
2001-03-28 02:42:56 +00:00
Brian Wellington
badf66abe0
Remove OMAPI.
2001-03-27 00:53:58 +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
Andreas Gustafsson
89752c3cb7
test more variants of the inet controls channel syntax,
...
'notify explicit', and various types of file log channels
2001-03-13 03:03:06 +00:00
Brian Wellington
f746db7665
pass the compression context to dns_message_renderbegin (the change last week
...
was incomplete, but these tests are not built by default)
2001-03-13 02:48:54 +00:00
Brian Wellington
3b2634e9b9
remove nconf_test, since it used the old config parser.
2001-03-13 02:47:18 +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
David Lawrence
7f31a2eacc
node joining no longer happens on deletion
2001-03-08 01:39:10 +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
Brian Wellington
e43b9a2005
move compression context create/delete into the caller of the message
...
rendering functions. This reduces the size of the message object.
2001-03-05 21:15:47 +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
Andreas Gustafsson
2cb79d0f48
example code using cfg_tuple_get()
2001-02-22 04:17:57 +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
adf199832b
the rrset-order option was missing
2001-02-16 03:07:40 +00:00
Brian Wellington
f31fd1e949
Remove dispatch_test, which is also using lots of no longer existing API calls.
2001-02-16 01:12:09 +00:00
Brian Wellington
5a027af2a9
update
2001-02-16 01:08:53 +00:00
Brian Wellington
a1c4585f1c
Remove ndcconf_test, since the old ndc parser is gone. Remove
...
dispatch_tcp_test, since the only parts of the dispatcher api it used
no longer exist.
2001-02-16 01:07:37 +00:00
Brian Wellington
c44ecc9bb8
#include <dns/acl.h>
2001-02-16 01:00:42 +00:00
Andreas Gustafsson
eae31304be
80 columns
2001-02-15 19:02:18 +00:00
Andreas Gustafsson
1348364377
added more sample code for extracting key secrets from rndc.conf
2001-02-15 18:55:03 +00:00
Andreas Gustafsson
b6c943d1c9
added sample code for extracting key secrets from rndc.conf
2001-02-15 18:53:28 +00:00
Andreas Gustafsson
5d9cd26d79
added test program for new configuration parser
2001-02-15 05:15:27 +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
Andreas Gustafsson
b27b26d710
added isc_task_beginexclusive() test
2001-02-13 18:55:19 +00:00
Brian Wellington
8b473437f1
Support Solaris x86, improve Solaris support, support Linux on non x86.
2001-02-12 23:06:44 +00:00
Andreas Gustafsson
cf887bbf78
the 'additional-data' option was never implemented
2001-02-09 00:08:23 +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
Andreas Gustafsson
31c094afd6
random-seed-file is not implemented
2001-02-01 19:09:24 +00:00
Andreas Gustafsson
38247e3857
enable-zone was never implemented; dialup should be allowed
...
in views
2001-01-27 07:24:35 +00:00
James Brister
23360bc8f8
base64-ify the secret.
2001-01-24 15:22:19 +00:00
James Brister
36b8b0b251
base64-ify the secrets in the test config files.
2001-01-24 15:17:36 +00:00
Brian Wellington
aaa761cc39
remove tkey_test and its associated keys, since the tkey system test is
...
far more useful and comprehensive.
2001-01-24 03:18:36 +00:00
Andreas Gustafsson
3d4454cc2b
these files don't belong in the BIND 9 CVS tree. b9status.pl is in the b9t CVS repository, and
...
we don't care about b8status.pl.
2001-01-24 00:43:09 +00:00
James Brister
5905bccacd
use new include statement to include ndc.conf-include
2001-01-23 13:13:29 +00:00
James Brister
a21891ee97
file to be included by test ndc.conf
2001-01-23 13:12:50 +00:00
Andreas Gustafsson
8669e2a2eb
need <sys/types.h> and <sys/time.h> for select()
2001-01-22 22:29:36 +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
e6c446fd0c
make zone_test exit properly [RT #108 ]
2001-01-18 02:53:57 +00:00
Brian Wellington
47700eeee3
make zone_test compile
2001-01-18 02:36:57 +00:00
Brian Wellington
ad36159e6c
Add zone_test to all_tests
2001-01-18 02:35:50 +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
Andreas Gustafsson
e9c861a307
max-names is no longer parsed; max-ixfr-log-size now takes
...
a size_spec
2001-01-11 20:04:12 +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
Brian Wellington
de832d133e
The changes to reduce allocations in the memory code exposed the sheer
...
brokenness of this program.
2001-01-11 04:12:29 +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
Mark Andrews
0deebcd15a
dns_master_load*() age_ttl -> options word
2001-01-05 03:12:45 +00:00
Andreas Gustafsson
b9e8ad0f49
include <isc/plaform.h> so that ISC_PLATFORM_USETHREADS gets defined
2001-01-05 01:58:28 +00:00
Andreas Gustafsson
b298d83ae0
skip tests that requires threads when threads are not available
2001-01-04 00:43:33 +00:00
Andreas Gustafsson
d6f30a87f8
skip tests that requires threads when threads are not available
2001-01-04 00:27:03 +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
Brian Wellington
4efa04801e
Remove DNS_COMPRESS_GLOBAL, since the only type of global compression
...
is GLOBAL14.
2000-12-29 00:54:36 +00:00