Commit Graph
1067 Commits
Author SHA1 Message Date
Brian Wellington 1e8c2e72e7 remove extra spaces in I: lines 2000-07-07 18:25:20 +00:00
James Brister 952e9025b0 310. [func] Changes to named.conf "controls" statement (inet
subtype only)

                          - support "keys" clause

                                controls {
                                   inet * port 1024
                                        allow { any; } keys { "foo"; }
                                }

                          - allow "port xxx" to be left out of statement,
                            in which case it defaults to omapi's default port
                            of 953.
2000-07-07 13:56:14 +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 29e59609b9 Add "SOA not at top of zone" test. 2000-07-05 00:35:36 +00:00
Mark Andrews 84b8fdfeac Add not soa not top of zone test 2000-07-04 02:28:23 +00:00
Mark Andrews 989000eadd Add $include tests. 2000-07-03 03:08:22 +00:00
Andreas Gustafsson 277bbd41d4 when reporting errors due to timer events not happening at the
expected time, print the number of microseconds by which the true time differs
from the expected one, to aid in determining whether the offset is due to a genuine
bug or too small a fudge factor
2000-06-30 22:01:40 +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
Andreas Gustafsson 506a962558 didn't compile 2000-06-28 16:27:36 +00:00
Michael Graff 4e21e54a03 make tests compile again. 2000-06-28 16:19:57 +00:00
David Lawrence e0720bd847 omapi_test has failed to work since the dst API change because it required
dst_lib_init to be called before any of the dst functions are used.  The
missing calls for dst_lib_init() and dst_lib_destroy() have been added to
the application here, rather than to omapi_lib_init(), to be consistent with
the rest of our applications.

Not sure that this warrants a CHANGES entry since it is just a test program.
Then again, it is probably worth mentioning that programs using OMAPI will
need to ensure they call dst_lib_init() before they call
omapi_listener_listen().  Unfortunately omapi_lib_init() can't require
dst having been initialized as part of its contract because it can't
figure out whether that's true or not.
2000-06-28 03:37:47 +00:00
Brian Wellington eb3bd171e0 test gethostbyname, gethostbyname2, and gethostbyaddr 2000-06-28 00:34:35 +00:00
Damien Neil 920313f58d Changed "argc > 1" to "argc >= 1" in argument parsing; omapi_test should
now print a more useful usage message when using the "listen" and "connect"
arguments with no further parameters.
2000-06-28 00:25:10 +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