From: Ken Raeburn Date: Thu, 19 Jun 2008 21:01:10 +0000 (+0000) Subject: Remove test115 for 'bad client params', no longer appropriate X-Git-Tag: krb5-1.7-alpha1~645 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6eedfeddb3ac9f1b7fdd319c245ebec65797b92b;p=krb5.git Remove test115 for 'bad client params', no longer appropriate git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20429 dc483132-0cff-0310-8789-dd5450dbe970 --- 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 ae1384727..21f6260a4 100644 --- a/src/lib/kadm5/unit-test/api.2/init-v2.exp +++ b/src/lib/kadm5/unit-test/api.2/init-v2.exp @@ -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