From 3c1aaa443a8e615dd60f159bfcc96092ce5bc2ac Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 1 Oct 1996 19:02:30 +0000 Subject: [PATCH] * api.2/init-v2.exp: Remove tests 104 & 105 as lockfile and policy database names are hard wired. [krb5-admin/46] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9136 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kadm5/unit-test/ChangeLog | 5 ++++ src/lib/kadm5/unit-test/api.2/init-v2.exp | 36 ----------------------- 2 files changed, 5 insertions(+), 36 deletions(-) diff --git a/src/lib/kadm5/unit-test/ChangeLog b/src/lib/kadm5/unit-test/ChangeLog index 82a7597af..d8399796f 100644 --- a/src/lib/kadm5/unit-test/ChangeLog +++ b/src/lib/kadm5/unit-test/ChangeLog @@ -1,3 +1,8 @@ +Tue Oct 1 14:45:37 1996 Ezra Peisach + + * api.2/init-v2.exp: Remove tests 104 & 105 as lockfile and + policy database names are hard wired. [krb5-admin/46] + Thu Sep 26 17:44:10 1996 Barry Jaspan * api.0/init.exp, api.1/lock.exp, api.2/init.exp: use $K5ROOT diff --git a/src/lib/kadm5/unit-test/api.2/init-v2.exp b/src/lib/kadm5/unit-test/api.2/init-v2.exp index 140ff86e8..38ddcf5d6 100644 --- a/src/lib/kadm5/unit-test/api.2/init-v2.exp +++ b/src/lib/kadm5/unit-test/api.2/init-v2.exp @@ -66,42 +66,6 @@ proc test103 {} { } if {! $RPC} test103 -test "init 104" -proc test104 {} { - global test - - # This is slightly lame, but it works: if CONFIG_ADBNAME is obeyed, - # then the lock file will be set based on it, and it won't exist. - one_line_fail_test { - kadm5_init admin admin $KADM5_ADMIN_SERVICE \ - [config_params {KADM5_CONFIG_ADBNAME} /does-not-exist] \ - $KADM5_STRUCT_VERSION $KADM5_API_VERSION_2 \ - server_handle - } "NOLOCKFILE" -} -if {! $RPC} test104 - -test "init 105" -proc test105 {} { - global test - - # The lock info is stored in a static structure so that it applies - # to all handles in the process (why?). We need to restart the api - # in order to ensure we are using the new lockfile. - api_exit - api_start - - one_line_fail_test { - kadm5_init admin admin $KADM5_ADMIN_SERVICE \ - [config_params {KADM5_CONFIG_ADB_LOCKFILE} /does-not-exist] \ - $KADM5_STRUCT_VERSION $KADM5_API_VERSION_2 \ - server_handle - } "NOLOCKFILE" - - api_exit - api_start -} -if {! $RPC} test105 test "init 106" proc test106 {} { -- 2.26.2