From e253ff21f4d321519870c93460c9b3178b21a9f9 Mon Sep 17 00:00:00 2001 From: Justin Anderson Date: Thu, 12 Jul 2007 17:57:37 +0000 Subject: [PATCH] Filled in dummy descriptions. Also, no longer errors out of test with ccIteratorEnd git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19701 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ccapi/test/test_ccapi_ccache.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ccapi/test/test_ccapi_ccache.c b/src/ccapi/test/test_ccapi_ccache.c index bb599f9f6..892f270ba 100644 --- a/src/ccapi/test/test_ccapi_ccache.c +++ b/src/ccapi/test/test_ccapi_ccache.c @@ -577,7 +577,7 @@ int check_cc_ccache_get_principal() { err = cc_context_create_new_ccache(context, cc_credentials_v5, "foo/BAR@BAZ.ORG", &ccache); } if (!err) { - check_once_cc_ccache_get_principal(ccache, cc_credentials_v5, "foo/BAR@BAZ.ORG", ccNoError, "Description 1"); + check_once_cc_ccache_get_principal(ccache, cc_credentials_v5, "foo/BAR@BAZ.ORG", ccNoError, "trying to get krb5 princ for krb5 ccache"); } else { log_error("cc_context_create_new_ccache failed, can't complete test"); @@ -593,7 +593,7 @@ int check_cc_ccache_get_principal() { err = cc_context_create_new_ccache(context, cc_credentials_v4, "foo.BAR@BAZ.ORG", &ccache); } if (!err) { - check_once_cc_ccache_get_principal(ccache, cc_credentials_v4, "foo.BAR@BAZ.ORG", ccNoError, "Description 2"); + check_once_cc_ccache_get_principal(ccache, cc_credentials_v4, "foo.BAR@BAZ.ORG", ccNoError, "trying to get krb4 princ for krb4 ccache"); } else { log_error("cc_context_create_new_ccache failed, can't complete test"); @@ -606,7 +606,7 @@ int check_cc_ccache_get_principal() { check_once_cc_ccache_get_principal(ccache, cc_credentials_v4_v5, "foo.BAR@BAZ.ORG", ccErrBadCredentialsVersion, "passing cc_credentials_v4_v5 (shouldn't be allowed)"); - check_once_cc_ccache_get_principal(ccache, cc_credentials_v5, NULL, ccErrBadParam, "Description 3"); + check_once_cc_ccache_get_principal(ccache, cc_credentials_v5, NULL, ccErrBadParam, "passed null out param"); } if (ccache) { @@ -1610,7 +1610,7 @@ cc_int32 check_once_cc_ccache_move(cc_ccache_t source, cc_ccache_t destination, } } if (err == ccIteratorEnd) { - !err; + err = ccNoError; } if (cred_iterator) { cc_credentials_iterator_release(cred_iterator); -- 2.26.2