Commit Graph

832 Commits

Author SHA1 Message Date
David Lawrence
1b6d529cb5 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

Several unused functions removed from dispatch_tcp_test.c (left over
from when it was copied from dispatch_test.c).

Minor other ISC style cleanups.
2000-06-01 19:11:07 +00:00
David Lawrence
63ed655d8f "test" target depends on the relevant program being built 2000-06-01 19:09:37 +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
Michael Graff
d98c74e2ec set the default destination port in the view, and use it when returning addresses from the adb. 2000-06-01 00:30:58 +00:00
Andreas Gustafsson
c17ac5ad17 removed extraneous empty lines 2000-05-31 19:53:41 +00:00
Andreas Gustafsson
bd75e751a7 detach from dispatches and dispatch manager; use dns_name_format() and
isc_netaddr_format(); assign a name to the task; turn off memory debugging
2000-05-31 19:53:19 +00:00
Andreas Gustafsson
bfa633fc0e detach from dispatches and dispatch manager; use dns_name_format() and
isc_netaddr_format(); assign a name to the task; turn off memory debugging
2000-05-31 19:46:18 +00:00
James Brister
725a4773f5 Support also-notify and trusted-keys in a view statement.
Fixed error message when lexer couldn't open an input file.
2000-05-31 13:10:00 +00:00
Brian Wellington
3d3ce463d1 use the new TSIG api 2000-05-30 23:49:51 +00:00
Brian Wellington
60681e95fe include isc/buffer.h 2000-05-30 23:20:18 +00:00
Brian Wellington
402ba1a164 include isc/buffer.h, dns/name.h 2000-05-30 23:20:00 +00:00
Brian Wellington
c18648ca1c include dns/name.h 2000-05-30 23:16:47 +00:00
Andreas Gustafsson
95b41befcb conform to recent dispatch creation changes; still doesn't work 2000-05-30 18:01:19 +00:00
Brian Wellington
35fc29dd6d fixed a typo that prevented compiling 2000-05-26 01:28:46 +00:00
Brian Wellington
e1a972b32d Conform with recent API changes, lots of memory leaks fixed. 2000-05-26 00:17:56 +00:00
Brian Wellington
7285eed748 missing isc_buffer_add() calls 2000-05-25 18:00:08 +00:00
David Lawrence
11836b7a55 missing isc_buffer_add()s after isc_buffer_init()s on a string were causing
tests to fail
2000-05-25 16:21:36 +00:00
Brian Wellington
a9bc95f22e dst now stores the key name as a dns_name_t, not a char *. 2000-05-24 23:13:32 +00:00
David Lawrence
0af3cb7703 ignore Makefile 2000-05-24 21:46:46 +00:00
Michael Sawyer
c7868e2262 Modify dns_message_totext, dns_message_sectiontotext,
dns_message_pseudosectiontotext to use bitfields instead of flags
2000-05-24 18:17:53 +00:00
David Lawrence
20b20b2394 202. [func] isc_lex_getsourceline() changed from returning int
to returning unsigned long, the type of its underlying
                        counter.
2000-05-24 15:07:59 +00:00
David Lawrence
ed019cabc1 fixed lines > 79 columns wide 2000-05-24 05:10:00 +00:00
David Lawrence
e38d22f566 fixed closing comment error introduced by my last revision 2000-05-24 05:02:19 +00:00
Andreas Gustafsson
a89b06a49c sdig is gone 2000-05-24 04:03:05 +00:00
David Lawrence
da49cb62e0 these tests do not need anything from libdns 2000-05-24 03:47:37 +00:00
David Lawrence
fe56f2116b dns/result.h and dns/compress.h removed from t_api.h 2000-05-24 03:45:00 +00:00
David Lawrence
ba1245a855 fixed prototypes and removed unused global variable Tx_shutdownflag 2000-05-24 03:34:08 +00:00
David Lawrence
9f44e95160 fixed prototypes 2000-05-24 03:33:07 +00:00
David Lawrence
aae7ae64e7 pruned several unused stack variables 2000-05-24 03:32:02 +00:00
David Lawrence
114eea8ac3 fixed prototypes and other ISC style issues 2000-05-24 03:30:57 +00:00
David Lawrence
25844f9f3a used ISC_TF assigning to boolean.
prototype get_random().
prototype main().
wrap long lines.
2000-05-24 03:27:47 +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
Michael Graff
5d1bfe4ce1 make these compile. dispatch_test works; dispatch_tcp_test does not. Use dns_message_totext() rather than printmessage(). 2000-05-22 19:36:34 +00:00
Andreas Gustafsson
a228ba1fa4 conform to recent ratelimiter API changes 2000-05-22 18:32:51 +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
Mark Andrews
9f20f5913b add dns_rdata_fromstuct() 2000-05-22 12:31:39 +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