Commit graph

2403 commits

Author SHA1 Message Date
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