Symbol: check_if
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
1098
check_if(this_time <= *last_time, "change time didn't increase when expected");
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
1266
check_if(this_time > *last_time, "last default time isn't as expected");
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
145
check_if(err != ccErrCCacheNotFound, "destroyed ccache was actually released instead");
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
1503
check_if(!(!err || err == ccErrCredentialsNotFound || ccErrInvalidCredentials), "credentials in destination not removed as promised");
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
1515
check_if(strcmp(src_principal->data, dst_principal->data), "destination principal not overwritten by source");
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
1525
check_if(err != ccErrInvalidCCache, "source ccache was not invalidated after move");
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
1624
check_if(actually_equal != *equal, "equal ccaches not considered equal");
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
1627
check_if(actually_equal != *equal, "non-equal ccaches considered equal");
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
1719
check_if(*time_offset != expected_offset, "kdc time offset doesn't match expected value");
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
1794
check_if(time_offset != stored_offset, "kdc time offset doesn't match expected value");
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
1869
check_if(err != ccErrTimeOffsetNotSet, "time offset not cleared");
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
258
check_if(strcmp(name->data, default_name->data), NULL);
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
261
check_if(1, "cc_ccache_get_name failed");
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
344
check_if(stored_cred_vers != expected_cred_vers, NULL);
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
452
check_if(strcmp(stored_name->data, expected_name), NULL);
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
501
check_if(strcmp(stored_principal->data, expected_principal), "expected princ == \"%s\" stored princ == \"%s\"", expected_principal, stored_principal->data);
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
655
check_if(strcmp(stored_principal->data, in_principal), "expected princ == \"%s\" stored princ == \"%s\"", in_principal, stored_principal->data);
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
71
check_if(err == ccErrCCacheNotFound, "released ccache was actually destroyed instead");
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
796
check_if((creds != NULL), "stored credentials not found in ccache");
crypto/krb5/src/ccapi/test/test_ccapi_ccache.c
951
check_if((creds != NULL), "credentials not removed from ccache");
crypto/krb5/src/ccapi/test/test_ccapi_check.h
12
check_if(a != b, NULL)
crypto/krb5/src/ccapi/test/test_ccapi_check.h
31
check_if(!(expression), format, ## __VA_ARGS__)
crypto/krb5/src/ccapi/test/test_ccapi_check.h
37
check_if(err != expected_err, "unexpected error %s (%d), expected %s (%d)", translate_ccapi_error(err), err, translate_ccapi_error(expected_err), expected_err); \
crypto/krb5/src/ccapi/test/test_ccapi_context.c
264
check_if(current_change_time <= last_change_time, "context change time did not increase when it was supposed to (%d <= %d)", current_change_time, last_change_time);
crypto/krb5/src/ccapi/test/test_ccapi_context.c
435
check_if(*ccache == NULL, NULL);
crypto/krb5/src/ccapi/test/test_ccapi_context.c
441
check_if(strcmp(stored_name->data, name), NULL);
crypto/krb5/src/ccapi/test/test_ccapi_context.c
527
check_if(*ccache == NULL, NULL);
crypto/krb5/src/ccapi/test/test_ccapi_context.c
533
check_if(strcmp(given_name->data, default_name->data), "name of ccache returned by cc_context_open_default_ccache doesn't match name returned by cc_context_get_default_ccache_name");
crypto/krb5/src/ccapi/test/test_ccapi_context.c
54
check_if(context == NULL, NULL);
crypto/krb5/src/ccapi/test/test_ccapi_context.c
60
check_if(context != NULL, NULL);
crypto/krb5/src/ccapi/test/test_ccapi_context.c
625
check_if(*ccache == NULL, NULL);
crypto/krb5/src/ccapi/test/test_ccapi_context.c
630
if (!err) { check_if(strcmp(stored_name->data, name), NULL); }
crypto/krb5/src/ccapi/test/test_ccapi_context.c
636
if (!err) { check_if(stored_creds_vers != cred_vers, NULL); }
crypto/krb5/src/ccapi/test/test_ccapi_context.c
639
if (!err) { check_if(strcmp(stored_principal->data, principal), NULL); }
crypto/krb5/src/ccapi/test/test_ccapi_context.c
722
if (ccache) { check_if(*ccache == NULL, NULL); }
crypto/krb5/src/ccapi/test/test_ccapi_context.c
726
if (!err) { check_if(stored_creds_vers != cred_vers, NULL); }
crypto/krb5/src/ccapi/test/test_ccapi_context.c
729
if (!err) { check_if(strcmp(stored_principal->data, principal), NULL); }
crypto/krb5/src/ccapi/test/test_ccapi_context.c
815
if (ccache) { check_if(*ccache == NULL, NULL); }
crypto/krb5/src/ccapi/test/test_ccapi_context.c
825
check_if(strcmp(stored_name->data, name->data), "new ccache does not have name of default");
crypto/krb5/src/ccapi/test/test_ccapi_context.c
828
check_if((strcmp(stored_name->data, name->data) == 0), "new cache has name of default");
crypto/krb5/src/ccapi/test/test_ccapi_context.c
836
if (!err) { check_if(stored_creds_vers != cred_vers, NULL); }
crypto/krb5/src/ccapi/test/test_ccapi_context.c
839
if (!err) { check_if(strcmp(stored_principal->data, principal), NULL); }
crypto/krb5/src/ccapi/test/test_ccapi_iterators.c
117
check_if(actual_count != expected_count, "iterator didn't iterate over all ccaches");
crypto/krb5/src/ccapi/test/test_ccapi_iterators.c
241
check_if(actual_count != expected_count, "iterator didn't iterate over all ccaches");
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
1100
check_if(found, "stored credentials not found in ccache");
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
1238
check_if(found, "credentials not removed from ccache");
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
1426
check_if(actual_count != expected_count, "iterator didn't iterate over all ccaches");
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
1518
check_if(strncmp(info[actual_count]->name, expected_name_prefix, strlen(expected_name_prefix)), "got incorrect ccache name");
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
1519
check_if(strcmp(info[actual_count]->principal, expected_principal), "got incorrect principal name");
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
1520
check_if(info[actual_count]->vers != expected_version, "got incorrect cred version");
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
1526
check_if(actual_count != expected_count, "NC info didn't list all ccaches");
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
1745
check_if(actual_count != expected_count, "iterator didn't iterate over all ccaches");
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
313
check_if(current_change_time <= last_change_time, "context change time did not increase when it was supposed to (%d <= %d)", current_change_time, last_change_time);
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
389
check_if(*ccache == NULL, NULL);
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
395
check_if(strcmp(stored_name, name), NULL);
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
480
check_if(*ccache == NULL, NULL);
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
485
if (!err) { check_if(strcmp(stored_name, name), NULL); }
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
489
if (!err) { check_if(stored_creds_vers != cred_vers, NULL); }
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
492
if (!err) { check_if(strcmp(stored_principal, principal), NULL); }
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
558
check_if(err == CC_NO_EXIST, "released ccache was actually destroyed instead");
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
559
check_if(err != CC_NOERROR, "released ccache cannot be opened");
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
623
check_if(err != CC_NO_EXIST, "destroyed ccache was actually released instead");
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
699
check_if(stored_cred_vers != expected_cred_vers, NULL);
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
796
check_if(strcmp(stored_name, expected_name), NULL);
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
889
check_if(strcmp(stored_principal, expected_principal), "expected princ == \"%s\" stored princ == \"%s\"", expected_principal, stored_principal);
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
974
check_if(strcmp(stored_principal, in_principal), "expected princ == \"%s\" stored princ == \"%s\"", in_principal, stored_principal);