mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
make tests compile again.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: adb_test.c,v 1.54 2000/06/22 21:50:04 tale Exp $ */
|
||||
/* $Id: adb_test.c,v 1.55 2000/06/28 16:19:52 explorer Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -152,7 +152,7 @@ create_managers(void) {
|
||||
check_result(result, "isc_socketmgr_create");
|
||||
|
||||
dispatchmgr = NULL;
|
||||
result = dns_dispatchmgr_create(mctx, &dispatchmgr);
|
||||
result = dns_dispatchmgr_create(mctx, NULL, &dispatchmgr);
|
||||
check_result(result, "dns_dispatchmgr_create");
|
||||
}
|
||||
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: byaddr_test.c,v 1.16 2000/06/22 21:50:10 tale Exp $ */
|
||||
/* $Id: byaddr_test.c,v 1.17 2000/06/28 16:19:53 explorer Exp $ */
|
||||
|
||||
/*
|
||||
* Principal Author: Bob Halley
|
||||
@@ -126,7 +126,7 @@ main(int argc, char *argv[]) {
|
||||
isc_task_setname(task, "byaddr", NULL);
|
||||
|
||||
dispatchmgr = NULL;
|
||||
RUNTIME_CHECK(dns_dispatchmgr_create(mctx, &dispatchmgr)
|
||||
RUNTIME_CHECK(dns_dispatchmgr_create(mctx, NULL, &dispatchmgr)
|
||||
== ISC_R_SUCCESS);
|
||||
|
||||
timermgr = NULL;
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: byname_test.c,v 1.18 2000/06/22 21:50:11 tale Exp $ */
|
||||
/* $Id: byname_test.c,v 1.19 2000/06/28 16:19:54 explorer Exp $ */
|
||||
|
||||
/*
|
||||
* Principal Author: Bob Halley
|
||||
@@ -240,7 +240,7 @@ main(int argc, char *argv[]) {
|
||||
isc_task_setname(task, "byname", NULL);
|
||||
|
||||
dispatchmgr = NULL;
|
||||
RUNTIME_CHECK(dns_dispatchmgr_create(mctx, &dispatchmgr)
|
||||
RUNTIME_CHECK(dns_dispatchmgr_create(mctx, NULL, &dispatchmgr)
|
||||
== ISC_R_SUCCESS);
|
||||
|
||||
timermgr = NULL;
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: dispatch_tcp_test.c,v 1.32 2000/06/22 21:50:14 tale Exp $ */
|
||||
/* $Id: dispatch_tcp_test.c,v 1.33 2000/06/28 16:19:55 explorer Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -222,7 +222,7 @@ main(int argc, char *argv[]) {
|
||||
RUNTIME_CHECK(isc_socketmgr_create(mctx, &socketmgr) == ISC_R_SUCCESS);
|
||||
|
||||
dispatchmgr = NULL;
|
||||
RUNTIME_CHECK(dns_dispatchmgr_create(mctx, &dispatchmgr)
|
||||
RUNTIME_CHECK(dns_dispatchmgr_create(mctx, NULL, &dispatchmgr)
|
||||
== ISC_R_SUCCESS);
|
||||
|
||||
/*
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: dispatch_test.c,v 1.43 2000/06/22 21:50:15 tale Exp $ */
|
||||
/* $Id: dispatch_test.c,v 1.44 2000/06/28 16:19:56 explorer Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -423,7 +423,7 @@ main(int argc, char *argv[]) {
|
||||
RUNTIME_CHECK(isc_socketmgr_create(mctx, &socketmgr) == ISC_R_SUCCESS);
|
||||
|
||||
dispatchmgr = NULL;
|
||||
RUNTIME_CHECK(dns_dispatchmgr_create(mctx, &dispatchmgr)
|
||||
RUNTIME_CHECK(dns_dispatchmgr_create(mctx, NULL, &dispatchmgr)
|
||||
== ISC_R_SUCCESS);
|
||||
|
||||
isc_sockaddr_any(&sa);
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: keyboard_test.c,v 1.3 2000/06/23 16:18:57 tale Exp $ */
|
||||
/* $Id: keyboard_test.c,v 1.4 2000/06/28 16:19:57 explorer Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -59,13 +59,13 @@ main(int argc, char **argv) {
|
||||
}
|
||||
printf("\r\n");
|
||||
if (res != ISC_R_SUCCESS) {
|
||||
printf("FAILURE: keyboard close failed: %s\r\n",
|
||||
printf("FAILURE: keyboard getchar failed: %s\r\n",
|
||||
isc_result_totext(res));
|
||||
goto errout;
|
||||
}
|
||||
|
||||
errout:
|
||||
res = isc_keyboard_close(&kbd);
|
||||
res = isc_keyboard_close(&kbd, 3);
|
||||
CHECK("isc_keyboard_close()", res);
|
||||
|
||||
return (0);
|
||||
|
Reference in New Issue
Block a user