History log of /sssd/src/tests/cwrap/test_usertools.c
Revision Date Author Comments Expand
4e5e846de22407f825fe3b4040d79606818a2419 11-Mar-2015 Jakub Hrozek <jhrozek@redhat.com>

tests: convert all unit tests to cmocka 1.0 or later All tests now use the cmocka-1.0-compatible API. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>

/sssd/src/tests/cmocka/sbus_internal_tests.c /sssd/src/tests/cmocka/sss_nss_idmap-tests.c /sssd/src/tests/cmocka/test_ad_access_filter.c /sssd/src/tests/cmocka/test_ad_common.c /sssd/src/tests/cmocka/test_ad_gpo.c /sssd/src/tests/cmocka/test_authtok.c /sssd/src/tests/cmocka/test_be_ptask.c /sssd/src/tests/cmocka/test_child_common.c /sssd/src/tests/cmocka/test_copy_ccache.c /sssd/src/tests/cmocka/test_copy_keytab.c /sssd/src/tests/cmocka/test_dp_opts.c /sssd/src/tests/cmocka/test_dyndns.c /sssd/src/tests/cmocka/test_find_uid.c /sssd/src/tests/cmocka/test_fo_srv.c /sssd/src/tests/cmocka/test_fqnames.c /sssd/src/tests/cmocka/test_ifp.c /sssd/src/tests/cmocka/test_io.c /sssd/src/tests/cmocka/test_ipa_idmap.c /sssd/src/tests/cmocka/test_negcache.c /sssd/src/tests/cmocka/test_nested_groups.c /sssd/src/tests/cmocka/test_nss_srv.c /sssd/src/tests/cmocka/test_resolv_fake.c /sssd/src/tests/cmocka/test_responder_cache_req.c /sssd/src/tests/cmocka/test_responder_common.c /sssd/src/tests/cmocka/test_sbus_opath.c /sssd/src/tests/cmocka/test_sdap.c /sssd/src/tests/cmocka/test_search_bases.c /sssd/src/tests/cmocka/test_sss_idmap.c /sssd/src/tests/cmocka/test_sss_sifp.c /sssd/src/tests/cmocka/test_sysdb_views.c /sssd/src/tests/cmocka/test_utils.c test_become_user.c test_responder_common.c test_server.c test_usertools.c
5eda23c28c582b43b2a0a165b1750f3875c0fa84 22-Oct-2014 Jakub Hrozek <jhrozek@redhat.com>

UTIL: Add a function to convert id_t from a number or a name We need a custom function that would convert a numeric or string input into uid_t. The function will be used to drop privileges in servers and also in the PAC and IFP responders. Includes a unit test to test all code that changed as well as a fix for a misnamed attribute in the csv_to_uid_list function synopsis. Reviewed-by: Pavel Reichl <preichl@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>