History log of /sssd/src/tests/cmocka/test_expire_common.c
Revision Date Author Comments Expand
2233216c653247dd9cc06ce7db6f61f464299906 26-Mar-2015 Lukas Slebodnik <lslebodn@redhat.com>

test_expire: Use right assertion macro for standard functions Documentation to macro assert_return_code says: Assert that the return_code is greater than or equal to 0. The function prints an error message to standard error and terminates the test by calling fail() if the return code is smaller than 0. If the function you check sets an errno if it fails you can pass it to the function and it will be printed as part of the error message. So in case of error we will see more verbose message. Reviewed-by: Pavel Reichl <preichl@redhat.com>

50b8a36b0932a510e825ed1ad8103f81ead2b7d8 23-Mar-2015 Pavel Reichl <preichl@redhat.com>

TESTS: test expiration Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>