[Pkg-sssd-devel] Bug#1068063:
Andreas Hasenack
andreas at canonical.com
Fri Apr 5 14:04:30 BST 2024
> 1. --- 0x2 != 0x1
> src/tests/cmocka/test_responder_cache_req.c:2505: error: Failure!
>
> assert_int_equal(test_ctx->result->count, 1);
>
> apparently there are 2 results returned while expected just one.
This is because of time_t now being 64bits and a "%lu" format string
is being used to construct an ldap filter. See
https://github.com/SSSD/sssd/issues/7276
> 2. --- No entries for symbol sss_dp_get_account_recv.
> src/tests/cmocka/common_mock_resp_dp.c:52: error: Could not get value to mock function sss_dp_get_account_recv
> src/tests/cmocka/test_pam_srv.c:802: note: Previously returned mock value was declared here
>
> void mock_account_recv(uint16_t dp_err, uint32_t dp_ret, char *msg,
> acct_cb_t acct_cb, void *pvt)
> {
> will_return(sss_dp_get_account_recv, dp_err);
This is part of a pam test with certificates IIRC, and was worked
around by dropping the faketime build dependency, only used for these
tests. faketime doesn't work currently
on armhf with a 64bit time_t: https://bugs.launchpad.net/bugs/2059078
More information about the Pkg-sssd-devel
mailing list