Commit Graph
1047 Commits
Author SHA1 Message Date
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
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
David Lawrence 3c04ed7c95 extraneous argument to isc_log_write1() format 2000-06-23 17:44:45 +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 ae302c18c2 #include <config.h> 2000-06-23 16:19:01 +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
Michael Graff 0eb2572d79 add isc_thread_setconcurrency() 2000-06-22 01:48:24 +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 6dcde6ca36 update_copyrights 2000-06-22 01:27:11 +00:00
David Lawrence d0be1e954b update_copyrights 2000-06-22 01:01:45 +00:00