LCOV - code coverage report
Current view: top level - tests/cmocka - test_pam_srv.c (source / functions) Hit Total Coverage
Test: .coverage.total Lines: 721 748 96.4 %
Date: 2015-10-19 Functions: 57 58 98.3 %

Function Name Sort by function name Hit count Sort by hit count
__wrap_pam_dp_send_req 25
__wrap_sss_cmd_done 31
__wrap_sss_cmd_send_empty 0
__wrap_sss_packet_get_body 62
__wrap_sss_packet_get_cmd 31
add_pam_params 31
cleanup_nss_db 2
main 1
mock_input_pam 22
mock_input_pam_cert 9
mock_pctx 31
pam_test_setup 31
pam_test_teardown 31
set_cert_auth_param 8
set_cmd_cb 31
setup_nss_db 1
test_lookup_by_cert_cb 5
test_lookup_by_cert_wrong_user_cb 1
test_pam_acct_mgmt 1
test_pam_authenticate 1
test_pam_cert_auth 1
test_pam_cert_check 2
test_pam_chauthtok 1
test_pam_chauthtok_prelim 1
test_pam_close_session 1
test_pam_creds_insufficient_check 1
test_pam_failed_offline_auth_check 1
test_pam_offline_auth_failed_2fa 1
test_pam_offline_auth_failed_2fa_with_cached_2fa 1
test_pam_offline_auth_failed_combined_pw_with_cached_2fa 1
test_pam_offline_auth_failed_pw_with_cached_2fa 1
test_pam_offline_auth_failed_wrong_2fa_size_with_cached_2fa 1
test_pam_offline_auth_no_hash 1
test_pam_offline_auth_success 1
test_pam_offline_auth_success_2fa 1
test_pam_offline_auth_success_2fa_with_cached_2fa 1
test_pam_offline_auth_success_combined_pw_with_cached_2fa 1
test_pam_offline_auth_success_pw_with_cached_2fa 1
test_pam_offline_auth_wrong_pw 1
test_pam_offline_chauthtok 1
test_pam_offline_chauthtok_check 2
test_pam_offline_chauthtok_prelim 1
test_pam_open_session 1
test_pam_preauth 1
test_pam_preauth_cert_match 1
test_pam_preauth_cert_match_wrong_user 1
test_pam_preauth_cert_no_logon_name 1
test_pam_preauth_cert_no_logon_name_no_match 1
test_pam_preauth_cert_nocert 1
test_pam_preauth_cert_nomatch 1
test_pam_preauth_no_cert_no_logon_name 1
test_pam_preauth_no_logon_name 1
test_pam_setcreds 1
test_pam_setup 31
test_pam_simple_check 24
test_pam_successful_offline_auth_check 5
test_pam_user_unknown_check 2
test_pam_wrong_pw_offline_auth_check 6

Generated by: LCOV version 1.10