From dc1d3f238d937779f4a63c683151dda67afcc902 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Wed, 28 Jun 2000 16:45:29 +0000 Subject: [PATCH] pullup: make tests compile again. --- bin/tests/adb_test.c | 4 ++-- bin/tests/byaddr_test.c | 4 ++-- bin/tests/byname_test.c | 4 ++-- bin/tests/dispatch_tcp_test.c | 4 ++-- bin/tests/dispatch_test.c | 4 ++-- bin/tests/keyboard_test.c | 6 +++--- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/bin/tests/adb_test.c b/bin/tests/adb_test.c index 3f1fe9fdd5..52f7ad2d21 100644 --- a/bin/tests/adb_test.c +++ b/bin/tests/adb_test.c @@ -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.54.2.1 2000/06/28 16:45:22 gson Exp $ */ #include @@ -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"); } diff --git a/bin/tests/byaddr_test.c b/bin/tests/byaddr_test.c index e837d8a381..4e824a0f77 100644 --- a/bin/tests/byaddr_test.c +++ b/bin/tests/byaddr_test.c @@ -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.16.2.1 2000/06/28 16:45:24 gson 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; diff --git a/bin/tests/byname_test.c b/bin/tests/byname_test.c index d4e9338b27..4057609867 100644 --- a/bin/tests/byname_test.c +++ b/bin/tests/byname_test.c @@ -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.18.2.1 2000/06/28 16:45:25 gson 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; diff --git a/bin/tests/dispatch_tcp_test.c b/bin/tests/dispatch_tcp_test.c index f5a955cc30..4cb46565af 100644 --- a/bin/tests/dispatch_tcp_test.c +++ b/bin/tests/dispatch_tcp_test.c @@ -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.32.2.1 2000/06/28 16:45:26 gson Exp $ */ #include @@ -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); /* diff --git a/bin/tests/dispatch_test.c b/bin/tests/dispatch_test.c index 5521ef4ca6..25108479d5 100644 --- a/bin/tests/dispatch_test.c +++ b/bin/tests/dispatch_test.c @@ -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.43.2.1 2000/06/28 16:45:27 gson Exp $ */ #include @@ -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); diff --git a/bin/tests/keyboard_test.c b/bin/tests/keyboard_test.c index d8c8ffef48..fe9ef6a890 100644 --- a/bin/tests/keyboard_test.c +++ b/bin/tests/keyboard_test.c @@ -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.3.2.1 2000/06/28 16:45:29 gson Exp $ */ #include @@ -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);