Remove test115 for 'bad client params', no longer appropriate
authorKen Raeburn <raeburn@mit.edu>
Thu, 19 Jun 2008 21:01:10 +0000 (21:01 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 19 Jun 2008 21:01:10 +0000 (21:01 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20429 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kadm5/unit-test/api.2/init-v2.exp

index ae1384727c14a6100cac2a2db736f9f310b638bd..21f6260a4e1ecd774285ceffe31797f10e8304c6 100644 (file)
@@ -294,110 +294,6 @@ proc test109 {} {
 }
 if {! $RPC} test109
 
-test "init 115"
-proc test115 {} {
-    global test
-
-    one_line_fail_test {
-       kadm5_init admin admin $KADM5_ADMIN_SERVICE \
-               [config_params {KADM5_CONFIG_DBNAME} does.not.exist] \
-               $KADM5_STRUCT_VERSION $KADM5_API_VERSION_2 \
-               server_handle
-    } "BAD_CLIENT_PARAMS"
-
-    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
-    } "BAD_CLIENT_PARAMS"
-
-    one_line_fail_test {
-       kadm5_init admin admin $KADM5_ADMIN_SERVICE \
-               [config_params {KADM5_CONFIG_ACL_FILE} does.not.exist] \
-               $KADM5_STRUCT_VERSION $KADM5_API_VERSION_2 \
-               server_handle
-    } "BAD_CLIENT_PARAMS"
-
-    one_line_fail_test {
-       kadm5_init admin admin $KADM5_ADMIN_SERVICE \
-               [config_params {KADM5_CONFIG_DICT_FILE} does.not.exist] \
-               $KADM5_STRUCT_VERSION $KADM5_API_VERSION_2 \
-               server_handle
-    } "BAD_CLIENT_PARAMS"
-
-    one_line_fail_test {
-       kadm5_init admin admin $KADM5_ADMIN_SERVICE \
-               [config_params {KADM5_CONFIG_ADMIN_KEYTAB} does.not.exist] \
-               $KADM5_STRUCT_VERSION $KADM5_API_VERSION_2 \
-               server_handle
-    } "BAD_CLIENT_PARAMS"
-
-    one_line_fail_test {
-       kadm5_init admin admin $KADM5_ADMIN_SERVICE \
-               [config_params {KADM5_CONFIG_MKEY_FROM_KBD} 0] \
-               $KADM5_STRUCT_VERSION $KADM5_API_VERSION_2 \
-               server_handle
-    } "BAD_CLIENT_PARAMS"
-
-    one_line_fail_test {
-       kadm5_init admin admin $KADM5_ADMIN_SERVICE \
-               [config_params {KADM5_CONFIG_STASH_FILE} does.not.exist] \
-               $KADM5_STRUCT_VERSION $KADM5_API_VERSION_2 \
-               server_handle
-    } "BAD_CLIENT_PARAMS"
-
-    one_line_fail_test {
-       kadm5_init admin admin $KADM5_ADMIN_SERVICE \
-               [config_params {KADM5_CONFIG_MKEY_NAME} does.not.exist] \
-               $KADM5_STRUCT_VERSION $KADM5_API_VERSION_2 \
-               server_handle
-    } "BAD_CLIENT_PARAMS"
-
-    one_line_fail_test {
-       kadm5_init admin admin $KADM5_ADMIN_SERVICE \
-               [config_params {KADM5_CONFIG_ENCTYPE} 0] \
-               $KADM5_STRUCT_VERSION $KADM5_API_VERSION_2 \
-               server_handle
-    } "BAD_CLIENT_PARAMS"
-
-    one_line_fail_test {
-       kadm5_init admin admin $KADM5_ADMIN_SERVICE \
-               [config_params {KADM5_CONFIG_MAX_LIFE} 0] \
-               $KADM5_STRUCT_VERSION $KADM5_API_VERSION_2 \
-               server_handle
-    } "BAD_CLIENT_PARAMS"
-
-    one_line_fail_test {
-       kadm5_init admin admin $KADM5_ADMIN_SERVICE \
-               [config_params {KADM5_CONFIG_MAX_RLIFE} 0] \
-               $KADM5_STRUCT_VERSION $KADM5_API_VERSION_2 \
-               server_handle
-    } "BAD_CLIENT_PARAMS"
-
-    one_line_fail_test {
-       kadm5_init admin admin $KADM5_ADMIN_SERVICE \
-               [config_params {KADM5_CONFIG_EXPIRATION} 0] \
-               $KADM5_STRUCT_VERSION $KADM5_API_VERSION_2 \
-               server_handle
-    } "BAD_CLIENT_PARAMS"
-
-    one_line_fail_test {
-       kadm5_init admin admin $KADM5_ADMIN_SERVICE \
-               [config_params {KADM5_CONFIG_FLAGS} 0] \
-               $KADM5_STRUCT_VERSION $KADM5_API_VERSION_2 \
-               server_handle
-    } "BAD_CLIENT_PARAMS"
-
-    one_line_fail_test {
-       kadm5_init admin admin $KADM5_ADMIN_SERVICE \
-               [config_params {KADM5_CONFIG_ENCTYPES} {{}}] \
-               $KADM5_STRUCT_VERSION $KADM5_API_VERSION_2 \
-               server_handle
-    } "BAD_CLIENT_PARAMS"
-}
-if {$RPC} test115
-
 test "init 116"
 proc test116 {} {
     global test